Package-level declarations
Types
Link copied to clipboard
object DebugDrawerDefaults
Link copied to clipboard
data class DebugDrawerState(val drawerState: DrawerState, expandSingleOnly: Boolean = false, expandedIds: MutableState<List<String>>)
Functions
Link copied to clipboard
fun DebugDrawer(drawerContent: @Composable ColumnScope.() -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, drawerState: DebugDrawerState = rememberDebugDrawerState(DrawerValue.Closed), gesturesEnabled: Boolean = true, scrimColor: Color = DrawerDefaults.scrimColor, drawerOpenMinSpaceLeft: Dp = DebugDrawerDefaults.DEFAULT_MIN_SPACE_LEFT, drawerItemSpacing: Dp = DebugDrawerDefaults.ITEM_SPACING, drawerContentPadding: PaddingValues = PaddingValues(horizontal = 16.dp, vertical = 12.dp), content: @Composable () -> Unit)
Link copied to clipboard
fun DebugDrawerActions(drawerState: DebugDrawerState, image: @Composable () -> Unit? = {
Icon(Icons.Default.Menu, null)
}, label: String = "Debug Drawer Actions", collapsible: Boolean = true, content: @Composable ColumnScope.() -> Unit = {})
Link copied to clipboard
fun rememberDebugDrawerState(initialValue: DrawerValue = DrawerValue.Closed, expandSingleOnly: Boolean = false, confirmStateChange: (DrawerValue) -> Boolean = { true }, initialExpandedIds: List<String> = emptyList()): DebugDrawerState