ScaffoldState


State for Scaffold composable component.

Contains basic screen state, e.g. Drawer configuration, as well as sizes of components after layout has happened

Summary

Public constructors

ScaffoldState(
    drawerState: DrawerState,
    snackbarHostState: SnackbarHostState
)
Cmn

Public properties

DrawerState

the drawer state

Cmn
SnackbarHostState

instance of SnackbarHostState to be used to show Snackbars inside of the Scaffold

Cmn

Public constructors

ScaffoldState

ScaffoldState(
    drawerState: DrawerState,
    snackbarHostState: SnackbarHostState
)
Parameters
drawerState: DrawerState

the drawer state

snackbarHostState: SnackbarHostState

instance of SnackbarHostState to be used to show Snackbars inside of the Scaffold

Public properties

drawerState

val drawerStateDrawerState

the drawer state

snackbarHostState

val snackbarHostStateSnackbarHostState

instance of SnackbarHostState to be used to show Snackbars inside of the Scaffold