SheetState
constructor(skipPartiallyExpanded: Boolean, density: Density, initialValue: SheetValue = Hidden, confirmValueChange: (SheetValue) -> Boolean = { true }, skipHiddenState: Boolean = false)
Parameters
initialValue
The initial value of the state.
density
The density that this state can use to convert values to and from dp.
confirmValueChange
Optional callback invoked to confirm or veto a pending state change.
skipHiddenState
Whether the hidden state should be skipped. If true, the sheet will always expand to the Expanded state and move to the PartiallyExpanded if available, either programmatically or by user interaction.