Package-level declarations
Types
Functions
Link copied to clipboard
inline fun <C : @Serializable Any> rememberRouter(key: Any = C::class, handleBackButton: Boolean = true, noinline initialStack: () -> List<C>): Router<C>
fun <C : @Serializable Any> rememberRouter(type: KClass<C>, key: Any = type.key, handleBackButton: Boolean = true, serializer: KSerializer<C>? = type.serializerOrNull(), initialStack: () -> List<C>): Router<C>
Creates a router that retains a stack of C configuration
Link copied to clipboard
fun <C : @Serializable Any> RoutedContent(router: Router<C>, modifier: Modifier = Modifier, animation: StackAnimation<C, RouterContext>? = null, content: @Composable (C) -> Unit)
Composable to hoist content that are navigated by the router