createIconTextRow
fun createIconTextRow(screen: JochensNextDinnerScreen, context: Context, onScreenClick: (JochensNextDinnerScreen) -> Unit, showLongDescription: Boolean)
Composable function for creating an IconTextRow. It creates an IconTextRow for a given screen. The text for the IconTextRow is determined based on the showLongDescription parameter. If showLongDescription is true, the long description is shown. Otherwise, the label is shown.
Parameters
screen
The screen for which to create the IconTextRow.
context
The local context.
onScreenClick
The function to be invoked when the screen is clicked.
showLongDescription
A flag indicating whether to show the long description or the label.