Bottom Sheet State
constructor(initialValue: BottomSheetValue, animationSpec: <Error class: unknown class><Float> = SwipeableDefaults.AnimationSpec, confirmValueChange: (BottomSheetValue) -> Boolean = { true })
Parameters
initial Value
The initial value of the state.
animation Spec
The default animation that will be used to animate to a new state.
confirm Value Change
Optional callback invoked to confirm or veto a pending state change.