-
public final class AppScaffoldKt
-
-
Method Summary
Modifier and Type Method Description final static UnitAppScaffold(Modifier modifier, Function0<Unit> timeText, Function1<BoxScope, Unit> content)An app scaffold, to be used to wrap a SwipeDismissableNavHost. -
-
Method Detail
-
AppScaffold
@Composable() final static Unit AppScaffold(Modifier modifier, Function0<Unit> timeText, Function1<BoxScope, Unit> content)
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.
-
-
-
-