Bottom Sheet State
State of the persistent bottom sheet in ModalBottomSheet.
Parameters
The initial value of the state.
The density that this state can use to convert values to and from dp.
The default animation that will be used to animate to a new state.
How should ModalBottomSheet behave at HalfExpanded state.
Optional callback invoked to confirm or veto a pending state change.
Constructors
State of the persistent bottom sheet in ModalBottomSheet.
Properties
The current value of the ModalBottomSheetState.
The fraction of the progress, within 0f..1f bounds, or 1f if the AnchoredDraggableState is in a settled state.
The fraction of the progress, within 0.5f..1f bounds, or 1f if the AnchoredDraggableState is in a settled state.
The target value the state will settle at once the current interaction ends, or the currentValue if there is no interaction in progress.