Package-level declarations
Types
Link copied to clipboard
object SparkDrawerDefaults
Functions
Link copied to clipboard
fun DismissibleDrawerSheet(modifier: Modifier = Modifier, drawerShape: Shape = RectangleShape, drawerContainerColor: Color = SparkTheme.colors.surface, drawerContentColor: Color = contentColorFor(drawerContainerColor), drawerTonalElevation: Dp = DrawerDefaults.DismissibleDrawerElevation, windowInsets: WindowInsets = DrawerDefaults.windowInsets, content: @Composable ColumnScope.() -> Unit)
Spark DismissibleDrawerSheet.
Link copied to clipboard
fun DismissibleNavigationDrawer(drawerContent: @Composable () -> Unit, modifier: Modifier = Modifier, drawerState: DrawerState = rememberDrawerState(DrawerValue.Closed), gesturesEnabled: Boolean = true, content: @Composable () -> Unit)
Spark DismissibleNavigationDrawer.
Link copied to clipboard
fun ModalDrawerSheet(modifier: Modifier = Modifier, drawerShape: Shape = SparkShapes().large, drawerContainerColor: Color = SparkTheme.colors.surface, drawerContentColor: Color = contentColorFor(drawerContainerColor), drawerTonalElevation: Dp = SparkDrawerDefaults.ModalDrawerElevation, windowInsets: WindowInsets = SparkDrawerDefaults.windowInsets, content: @Composable ColumnScope.() -> Unit)
Spark ModalDrawerSheet.
Link copied to clipboard
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.
Link copied to clipboard
fun rememberDrawerState(initialValue: DrawerValue, confirmStateChange: (DrawerValue) -> Boolean = { true }): DrawerState