🌈 Create new beautiful Compose Gradients with our new wesite ->
Class

ScaffoldState

State for Scaffold composable component.

Source set: Common
public class ScaffoldState(
    public val drawerState: DrawerState,
    public 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