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

drawerStatethe drawer state
snackbarHostStateinstance of SnackbarHostState to be used to show Snackbars inside of the Scaffold