BottomSheetScaffoldState

fun BottomSheetScaffoldState(initialValue: BottomSheetValue, animationSpec: <Error class: unknown class><Float> = SwipeableDefaults.AnimationSpec, confirmStateChange: (BottomSheetValue) -> Boolean): BottomSheetState

Deprecated

This constructor is deprecated. confirmStateChange has been renamed to confirmValueChange.

Replace with

BottomSheetScaffoldState(initialValue, animationSpec, confirmStateChange)