Cancellation
data class Cancellation(val dragDown: Boolean = true, val touchOutside: Boolean = true, val backPressed: Boolean = true) : Parcelable
Specifies cancellation behaviour.
Parameters
dragDown
Cancel when bottom sheet is dragged down out of the screen. Default value is true.
touchOutside
Cancel on touch of the outside dimmed area of the bottom sheet. Default value is true.
backPressed
Cancel on back button press or back gesture. Default value is true.