POCancellationConfiguration

constructor(backPressed: Boolean = true, dragDown: Boolean = true, touchOutside: Boolean = true)

Specifies cancellation behaviour.

Parameters

backPressed

Cancel on back button press or back gesture. Default value is true.

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.


constructor(secondaryAction: Boolean = true, backPressed: Boolean = true, dragDown: Boolean = true, touchOutside: Boolean = true)

Deprecated

Use alternative constructor.

Parameters

secondaryAction

Enables secondary cancel action button. Default value is true.

backPressed

Cancel on back button press or back gesture. Default value is true.

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.