Modal Sheet Properties
data class ModalSheetProperties(val dismissOnBackPress: Boolean = true, val dismissOnClickOutside: Boolean = true)
Properties that control the behavior of a ModalBottomSheet.
Parameters
dismiss On Back Press
Whether the sheet should be dismissed when the back button is pressed.
dismiss On Click Outside
Whether the sheet should be dismissed when clicking outside of it.