AppScaffold

fun AppScaffold(modifier: Modifier = Modifier, timeText: @Composable () -> Unit = { ResponsiveTimeText() }, content: @Composable BoxScope.() -> Unit)

An app scaffold, to be used to wrap a SwipeDismissableNavHost. The TimeText will be shown here, but can be customised in either ScreenScaffold or PagerScaffold.

Without this, the vanilla Scaffold is likely placed on each individual screen and TimeText moves with the screen, or shown twice when swiping to dimiss.

Parameters

modifier

the Scaffold modifier.

timeText

the app default time text, defaults to TimeText().

content

the content block.