Package-level declarations

Types

Link copied to clipboard

A caller-supplied stack of Records for presentation with a Navigator. Iteration order is top-first (first element is the top of the stack).

Link copied to clipboard
Link copied to clipboard

Presentation logic for currently visible routes of a navigable UI.

Link copied to clipboard
fun interface ProvidedValues
Link copied to clipboard

Properties

Link copied to clipboard

true if the BackStack contains exactly one record.

Link copied to clipboard

true if the BackStack contains no records. BackStack.firstOrNull will return null.

Functions

Link copied to clipboard
fun <R : BackStack.Record> providedValuesForBackStack(backStack: BackStack<R>, stackLocalProviders: ImmutableList<BackStackRecordLocalProvider<R>> = persistentListOf(), includeDefaults: Boolean = true): ImmutableMap<R, ProvidedValues>
Link copied to clipboard

Creates and remembers a SaveableBackStack filled with the given initialScreens.

Creates and remembers a SaveableBackStack with the given root screen.