Class

BottomSheetNavigatorDestinationBuilder

DSL for constructing a new BottomSheetNavigator.Destination

Source set: Common
@NavDestinationDsl
class BottomSheetNavigatorDestinationBuilder :
    NavDestinationBuilder<BottomSheetNavigator.Destination>

DSL for constructing a new BottomSheetNavigator.Destination

Secondary Constructors

public constructor(
    navigator: BottomSheetNavigator,
    route: String,
    content: @Composable ColumnScope.(NavBackStackEntry) -> Unit,
) : super(navigator, route) {
    this.bottomSheetNavigator = navigator
    this.content = content
}

DSL for constructing a new BottomSheetNavigator.Destination

Parameters

navigator navigator used to create the destination
route the destination's unique route
content composable for the destination
public constructor(
    navigator: BottomSheetNavigator,
    route: KClass<*>,
    typeMap: Map<KType, @JvmSuppressWildcards NavType<*>>,
    content: @Composable ColumnScope.(NavBackStackEntry) -> Unit,
) : super(navigator, route, typeMap) {
    this.bottomSheetNavigator = navigator
    this.content = content
}

DSL for constructing a new BottomSheetNavigator.Destination

Parameters

navigator navigator used to create the destination
route the destination's unique route from a KClass
typeMap map of destination arguments' kotlin type KType to its respective custom NavType. May be empty if route does not use custom NavTypes.
content composable for the destination

Last updated: