Package 

Object DestinationStyleBottomSheet


  • 
    public class DestinationStyleBottomSheet
    extends DestinationStyle
                        

    Marks the destination to be shown with a bottom sheet style. It requires "io.github.raamcosta.compose-destinations:bottom-sheet" dependency.

    You will need to use a ModalBottomSheetLayout wrapping your top level Composable. Example:

    val navController = rememberNavController()
    val bottomSheetNavigator = rememberBottomSheetNavigator()
    navController.navigatorProvider += bottomSheetNavigator
    
    ModalBottomSheetLayout(
        bottomSheetNavigator = bottomSheetNavigator
    ) {
        //YOUR TOP LEVEL COMPOSABLE LIKE `DestinationsNavHost` or `Scaffold`
    }
    • Method Summary

      Modifier and Type Method Description
      <T extends Any> Unit addComposable(NavGraphBuilder $self, TypedDestinationSpec<T> destination, NavHostController navController, Function1<DependenciesContainerBuilder<?>, Unit> dependenciesContainerBuilder, ManualComposableCalls manualComposableCalls)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait