ModalSheetProperties

data class ModalSheetProperties(val dismissOnBackPress: Boolean = true, val dismissOnClickOutside: Boolean = true)

Properties that control the behavior of a ModalBottomSheet.

Parameters

dismissOnBackPress

Whether the sheet should be dismissed when the back button is pressed.

dismissOnClickOutside

Whether the sheet should be dismissed when clicking outside of it.

Constructors

Link copied to clipboard
constructor(dismissOnBackPress: Boolean = true, dismissOnClickOutside: Boolean = true)

Properties

Link copied to clipboard
Link copied to clipboard