BottomSheetNavigatorDestinationBuilder

@<Error class: unknown class>
class BottomSheetNavigatorDestinationBuilder


DSL for constructing a new BottomSheetNavigator.Destination

Summary

Public constructors

DSL for constructing a new BottomSheetNavigator.Destination

DSL for constructing a new BottomSheetNavigator.Destination

Public constructors

BottomSheetNavigatorDestinationBuilder

BottomSheetNavigatorDestinationBuilder(
    navigator: BottomSheetNavigator,
    route: String,
    content: @Composable ColumnScope.(<Error class: unknown class>) -> 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.(<Error class: unknown class>) -> Unit

composable for the destination

BottomSheetNavigatorDestinationBuilder

BottomSheetNavigatorDestinationBuilder(
    navigator: BottomSheetNavigator,
    route: KClass<*>,
    typeMap: Map<KType<Error class: unknown class><<Error class: unknown class>>>,
    content: @Composable ColumnScope.(<Error class: unknown class>) -> 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<KType<Error class: unknown class><<Error class: unknown class>>>

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.(<Error class: unknown class>) -> Unit

composable for the destination

Public functions

instantiateDestination

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