SaveableBackStack
A BackStack that supports saving its state via rememberSaveable. See rememberSaveableBackStack.
Types
Properties
Link copied to clipboard
true
if the BackStack contains no records. BackStack.firstOrNull will return null
.
Link copied to clipboard
Functions
Link copied to clipboard
Whether the back stack contains the given record.
Link copied to clipboard
Link copied to clipboard
Attempt to pop the top item off of the back stack, returning the popped Record if popping was successful or null
if no entry was popped.
Link copied to clipboard
open fun popUntil(predicate: (SaveableBackStack.Record) -> Boolean): ImmutableList<SaveableBackStack.Record>
Pop records off the top of the backstack until one is found that matches the given predicate.
Link copied to clipboard
Link copied to clipboard
Saves the current back stack entry list in an internal state store. It can be later restored by the root screen to restoreState.