Router

interface Router

An interface that defines the contract for a router, in particular it exposes the commands received from the methods it exposes (navigateTo and popBackStack)

Functions

Link copied to clipboard
abstract fun navigateTo(route: Route, navOptions: NavOptions? = null)

Navigates to a specific route respecting navOptions

Link copied to clipboard
abstract fun popBackStack()

Pops the current screen

Properties

Link copied to clipboard
abstract val commands: SharedFlow<RouterCommand>