ScaffoldState
-
Cmn
class 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( |
Cmn
|
Public properties |
||
|---|---|---|
DrawerState |
the drawer state |
Cmn
|
SnackbarHostState |
instance of |
Cmn
|
Public constructors
ScaffoldState
ScaffoldState(
drawerState: DrawerState,
snackbarHostState: SnackbarHostState
)
| Parameters | |
|---|---|
drawerState: DrawerState |
the drawer state |
snackbarHostState: SnackbarHostState |
instance of |
Public properties
snackbarHostState
val snackbarHostState: SnackbarHostState
instance of SnackbarHostState to be used to show Snackbars inside of the Scaffold