MomoScaffold

fun MomoScaffold(titleRes: Int, navController: ERROR CLASS: Symbol not found for NavController??, snackStateFlow: ERROR CLASS: Symbol not found for SharedFlow<io/rekast/sdk/sample/utils/SnackBarComponentConfiguration>, content: (ERROR CLASS: Symbol not found for PaddingValues) -> Unit)

Shared screen shell for the sample app. Wraps a themed Scaffold with the app TopBar, navigation Drawer, and snackbar host so every screen shares one consistent, dark-mode-aware chrome. Surfaces and the drawer follow MaterialTheme (MTN blue in light, deep neutral in dark).

Parameters

titleRes

String resource for the top bar title.

navController

NavController used by the drawer; when null the drawer is omitted (previews).

snackStateFlow

Flow of snackbar messages to display.

content

Screen body. The scaffold's content padding is already applied by the wrapping Box, so callers must not apply it again (doing so would double-pad). The PaddingValues is still passed in for the rare case a screen needs the raw inset values (e.g. to offset an edge- to-edge element); most screens can ignore the parameter.