BottomSheetNavigatorDestinationBuilder

@NavDestinationDsl
class BottomSheetNavigatorDestinationBuilder : NavDestinationBuilder


DSL for constructing a new BottomSheetNavigator.Destination

Summary

Public constructors

DSL for constructing a new BottomSheetNavigator.Destination

BottomSheetNavigatorDestinationBuilder(
    navigator: BottomSheetNavigator,
    route: KClass<*>,
    typeMap: Map<KTypeNavType<*>>,
    content: @Composable ColumnScope.(NavBackStackEntry) -> Unit
)

DSL for constructing a new BottomSheetNavigator.Destination

Inherited functions

Unit
argument(name: String, argumentBuilder: NavArgumentBuilder.() -> Unit)
Unit
argument(name: String, argument: NavArgument)
open BottomSheetNavigator.Destination
inline Unit
<T : Any> deepLink(basePath: String)
Unit
deepLink(navDeepLink: NavDeepLinkDslBuilder.() -> Unit)
Unit
deepLink(navDeepLink: NavDeepLink)
Unit
deepLink(uriPattern: String)
inline Unit
<T : Any> deepLink(basePath: String, noinline navDeepLink: NavDeepLinkDslBuilder.() -> Unit)

Public constructors

BottomSheetNavigatorDestinationBuilder

Added in 1.8.0-beta03
BottomSheetNavigatorDestinationBuilder(
    navigator: BottomSheetNavigator,
    route: String,
    content: @Composable ColumnScope.(NavBackStackEntry) -> Unit
)

DSL for constructing a new BottomSheetNavigator.Destination

Parameters
navigator: BottomSheetNavigator

navigator used to create the destination

route: String

the destination's unique route

content: @Composable ColumnScope.(NavBackStackEntry) -> Unit

composable for the destination

BottomSheetNavigatorDestinationBuilder

Added in 1.8.0-beta03
BottomSheetNavigatorDestinationBuilder(
    navigator: BottomSheetNavigator,
    route: KClass<*>,
    typeMap: Map<KTypeNavType<*>>,
    content: @Composable ColumnScope.(NavBackStackEntry) -> Unit
)

DSL for constructing a new BottomSheetNavigator.Destination

Parameters
navigator: BottomSheetNavigator

navigator used to create the destination

route: KClass<*>

the destination's unique route from a KClass

typeMap: Map<KTypeNavType<*>>

map of destination arguments' kotlin type KType to its respective custom NavType. May be empty if route does not use custom NavTypes.

content: @Composable ColumnScope.(NavBackStackEntry) -> Unit

composable for the destination

Protected functions

instantiateDestination

Added in 1.8.0-beta03
protected open fun instantiateDestination(): BottomSheetNavigator.Destination