BottomSheetNavigator
Navigator that drives a ModalBottomSheetState for use of ModalBottomSheetLayouts with the navigation library. Every destination using this Navigator must set a valid Composable by setting it directly on an instantiated Destination or calling androidx.navigation.compose.material.bottomSheet.
The sheetContent will always host the latest entry of the back stack. When navigating from a BottomSheetNavigator.Destination to another BottomSheetNavigator.Destination, the content of the sheet will be replaced instead of a new bottom sheet being shown.
When the sheet is dismissed by the user, the state's NavigatorState.backStack will be popped.
The primary constructor is not intended for public use. Please refer to rememberBottomSheetNavigator instead.
Parameters
The ModalBottomSheetState that the BottomSheetNavigator will use to drive the sheet state
Types
NavDestination specific to BottomSheetNavigator
Functions
Properties
Access properties of the ModalBottomSheetLayout's ModalBottomSheetState
A Composable function that hosts the current sheet content. This should be set as sheetContent of your ModalBottomSheetLayout.