bottom Sheet Screen
abstract fun bottomSheetScreen(urlProvider: () -> String, onDismiss: () -> Unit): @Composable () -> Unit
Allows providing a custom Composable screen to be displayed in a bottom sheet. This is typically invoked when a deep link includes a specific query parameter (shouldUseModal=true) indicating that content (often a WebView) should be presented in a modal fashion.
Return
A Composable lambda function that renders the custom bottom sheet UI.
Parameters
url Provider
A lambda that, when invoked, returns the URL string that should be loaded or used by the custom bottom sheet content.
on Dismiss
A lambda that should be invoked when the user dismisses the custom bottom sheet.