ScaffoldState

Class
Common
class ScaffoldState(val drawerState: DrawerState, val snackbarHostState: SnackbarHostState)

State for Scaffold composable component.

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

Parameters

drawerState the drawer state
snackbarHostState instance of SnackbarHostState to be used to show Snackbars inside of the Scaffold