BottomSheetOverlay

constructor(model: Model, sheetContainerColor: Color? = null, tonalElevation: Dp? = null, sheetShape: Shape? = null, dragHandle: @Composable () -> Unit? = null, skipPartiallyExpandedState: Boolean = false, isFocusable: Boolean = true, content: @Composable (Model, OverlayNavigator<Result>) -> Unit)(source)

Constructs a new BottomSheetOverlay that will not dismiss when tapped outside of the sheet. This means that only the content can finish the overlay. Additionally the appearance of the sheet can be customized.

Parameters

sheetContainerColor

set the container color of the ModalBottomSheet

dragHandle

customize the drag handle of the sheet

skipPartiallyExpandedState

indicates if the Sheet should be expanded per default (if it's height exceed the partial height threshold)

isFocusable

corresponds to ModalBottomSheetProperties.isFocusable and will be passed on to the final sheet as such.


constructor(model: Model, onDismiss: () -> Result, sheetContainerColor: Color? = null, tonalElevation: Dp? = null, sheetShape: Shape? = null, dragHandle: @Composable () -> Unit? = null, skipPartiallyExpandedState: Boolean = false, properties: ModalBottomSheetProperties = DEFAULT_PROPERTIES, content: @Composable (Model, OverlayNavigator<Result>) -> Unit)(source)

Constructs a new BottomSheetOverlay that will dismiss when tapped outside of the sheet. onDismiss is required in this case to offer a default value in this event. Additionally the appearance of the sheet can be customized.

Parameters

sheetContainerColor

set the container color of the ModalBottomSheet

dragHandle

customize the drag handle of the sheet

skipPartiallyExpandedState

indicates if the Sheet should be expanded per default (if it's height exceed the partial height threshold)