Package-level declarations
Types
Link copied to clipboard
class BottomSheetState(initialValue: BottomSheetValue, density: Density, animationSpec: AnimationSpec<Float> = DefaultAnimationSpec, halfExpandedSettings: HalfExpandedSettings = HalfExpandedSettings.Fraction(0.5f), confirmValueChange: (BottomSheetValue) -> Boolean)
State of the persistent bottom sheet in ModalBottomSheet.
Link copied to clipboard
Possible states of ModalBottomSheet.
Link copied to clipboard
Настройки поведения BottomSheet для состояния HalfExpanded
Functions
Link copied to clipboard
fun rememberModalBottomSheetState(initialValue: BottomSheetValue, animationSpec: AnimationSpec<Float> = DefaultAnimationSpec, confirmValueChange: (BottomSheetValue) -> Boolean = { true }, halfExpandedSettings: HalfExpandedSettings): BottomSheetState
fun rememberModalBottomSheetState(initialValue: BottomSheetValue, animationSpec: AnimationSpec<Float> = DefaultAnimationSpec, confirmValueChange: (BottomSheetValue) -> Boolean = { true }, skipHalfExpanded: Boolean = false): BottomSheetState
Create and remember a ModalBottomSheetState.