Route

sealed class Route(source)

A model for an application route.

Inheritors

Types

Link copied to clipboard
class IntRoute(val meta: Meta? = null, val childRoutes: List<Route>? = null, view: @Composable IComponent.(Int) -> Unit? = null, action: suspend (Int) -> Unit? = null, context: IntRoutingContextImpl) : Route

Represents a route that matches a specific numeric segment.

Link copied to clipboard
class PathRoute(val paths: List<String>, val meta: Meta? = null, val childRoutes: List<Route>? = null, view: @Composable IComponent.() -> Unit? = null, action: suspend () -> Unit? = null, context: RoutingContextImpl) : Route

Represents a route that matches a specific path or set of paths.

Link copied to clipboard
class StringRoute(val meta: Meta? = null, val childRoutes: List<Route>? = null, view: @Composable IComponent.(String) -> Unit? = null, action: suspend (String) -> Unit? = null, context: StringRoutingContextImpl) : Route

Represents a route that matches a specific string segment.

Properties

Link copied to clipboard
open val childRoutes: List<Route>?
Link copied to clipboard
open val meta: Meta?