ModalNavigationDrawer
fun ModalNavigationDrawer(drawerContent: @Composable () -> Unit, modifier: Modifier = Modifier, drawerState: DrawerState = rememberDrawerState(DrawerValue.Closed), gesturesEnabled: Boolean = true, scrimColor: Color = SparkTheme.colors.scrim, content: @Composable () -> Unit)
Spark ModalNavigationDrawer.
An ModalNavigationDrawer provide ergonomic access to destinations in an app. Modal navigation drawers block interaction with the rest of an app’s content with a scrim. They are elevated above most of the app’s UI and don’t affect the screen’s layout grid.
Parameters
drawerContent
content inside this drawer
modifier
the Modifier to be applied to this drawer
drawerState
state of the drawer
gesturesEnabled
whether or not the drawer can be interacted by gestures
scrimColor
color of the scrim that obscures content when the drawer is open
content
content of the rest of the UI