SbScaffold
fun SMC.SbScaffold( modifier: Modifier = Modifier, topBar: @Composable () -> Unit = {}, bottomBar: @Composable () -> Unit = {}, snackbarHost: @Composable () -> Unit = { SnackbarHost(LocalSnackbarHostState.current) }, floatingActionButton: @Composable () -> Unit = {}, floatingActionButtonPosition: FabPosition = FabPosition.End, containerColor: Color = MaterialTheme.colorScheme.background, contentColor: Color = contentColorFor(containerColor), contentWindowInsets: WindowInsets = ScaffoldDefaults.contentWindowInsets, content: @Composable (PaddingValues) -> Unit)
Sensibill implementation of the "base" Scaffold. Argument defaults have been copied from Scaffold.
Current Sensibill customizations:
Default SnackbarHost from the LocalSnackbarHostState composition local. Used for Spend Manager screens to be able to call showSnackbar and navigate back, having the previous screen display the snackbar.