Package-level declarations

Types

Link copied to clipboard
class Router<C : Any> : SlotNavigation<C>

Functions

Link copied to clipboard
inline fun <C : @Serializable Any> rememberRouter(key: Any = C::class, handleBackButton: Boolean = true, noinline initialConfiguration: () -> C?): Router<C>

Creates a router that retains a slot of C configuration

fun <C : @Serializable Any> rememberRouter(type: KClass<C>, key: Any = type.key, handleBackButton: Boolean = true, serializer: KSerializer<C>? = type.serializerOrNull(), initialConfiguration: () -> C?): Router<C>
Link copied to clipboard
fun <C : @Serializable Any> RoutedContent(router: Router<C>, content: @Composable (C) -> Unit)

Composable to hoist content that are navigated by the router