DrawerState
@Stable
State of the ModalNavigationDrawer and DismissibleNavigationDrawer composable.
Parameters
initialValue
The initial value of the state.
confirmStateChange
Optional callback invoked to confirm or veto a pending state change.
Properties
Link copied to clipboard
The current position (in pixels) of the drawer sheet, or Float.NaN before the offset is initialized.
Link copied to clipboard
The current value of the state.
Link copied to clipboard
Whether the state is currently animating.
Link copied to clipboard
The target value of the drawer state.