DrawerState

constructor(initialValue: DrawerValue, confirmStateChange: (DrawerValue) -> Boolean = { true })

Parameters

initialValue

The initial value of the state.

confirmStateChange

Optional callback invoked to confirm or veto a pending state change.