Google is committed to advancing racial equity for Black communities. See how.

BottomSheetScaffoldState

@Stable class BottomSheetScaffoldState
kotlin.Any
   ↳ androidx.compose.material.BottomSheetScaffoldState

State of the BottomSheetScaffold composable.

Summary

Public constructors
<init>(drawerState: DrawerState, bottomSheetState: BottomSheetState, snackbarHostState: SnackbarHostState)

State of the BottomSheetScaffold composable.

Properties
BottomSheetState

The state of the persistent bottom sheet.

DrawerState

The state of the navigation drawer.

SnackbarHostState

The SnackbarHostState used to show snackbars inside the scaffold.

Public constructors

<init>

BottomSheetScaffoldState(
    drawerState: DrawerState,
    bottomSheetState: BottomSheetState,
    snackbarHostState: SnackbarHostState)

State of the BottomSheetScaffold composable.

Parameters
drawerState: DrawerState The state of the navigation drawer.
bottomSheetState: BottomSheetState The state of the persistent bottom sheet.
snackbarHostState: SnackbarHostState The SnackbarHostState used to show snackbars inside the scaffold.

Properties

bottomSheetState

val bottomSheetState: BottomSheetState

The state of the persistent bottom sheet.

drawerState

val drawerState: DrawerState

The state of the navigation drawer.

snackbarHostState

val snackbarHostState: SnackbarHostState

The SnackbarHostState used to show snackbars inside the scaffold.