RootModalBottomSheetNavigator
constructor(navigationMapper: @Composable (Action) -> BottomSheetComposableNavSpec, initialSheetValue: ModalBottomSheetValue = ModalBottomSheetValue.Hidden, parentRouteController: RouteController? = null, contentRootResultHandlers: List<NavHostResultHandler<*, *>> = emptyList(), contentBuilder: BottomSheetContentBuilder, sheetContentBuilder: BottomSheetContentBuilder)
Parameters
Action
the type of NavigationAction this navigator should respond to.
navigationMapper
Maps Action to a BottomSheetComposableNavSpec to be navigated to.
initialSheetValue
The ModalBottomSheetValue the ModalBottomSheetLayout should default to.
parentRouteController
A RouteController managing the parent view of the ModalBottomSheetLayout
contentRootResultHandlers
A list of NavHostResultHandler to be added to the root view of the content.
contentBuilder
The BottomSheetContentBuilder describing the navigation graph of the content.
sheetContentBuilder
The BottomSheetContentBuilder describing the navigation graph of the sheet content.