Companion

object Companion

Functions

Link copied to clipboard
fun saver(animationSpec: AnimationSpec<Float>, confirmValueChange: (BottomSheetValue) -> Boolean, halfExpandedSettings: HalfExpandedSettings, density: Density): Saver<BottomSheetState, *>

The default saver implementation for ModalBottomSheetState. Saves the currentValue and recreates a ModalBottomSheetState with the saved value as initial value.