Class BottomSheetState

  • All Implemented Interfaces:

    public final class BottomSheetState

    State of the persistent bottom sheet in ScanbotScaffold.

    • Constructor Detail

      • BottomSheetState

        BottomSheetState(BottomSheetValue initialValue, <Error class: unknown class><Float> animationSpec, Function1<BottomSheetValue, Boolean> confirmValueChange)
        initialValue - The initial value of the state.
        animationSpec - The default animation that will be used to animate to a new state.
        confirmValueChange - Optional callback invoked to confirm or veto a pending state change.