Skip to main content

remember_back_stack_with_key

Function remember_back_stack_with_key 

Source
pub fn remember_back_stack_with_key<K: NavKey>(
    key: impl Into<String>,
    start: K,
) -> Rc<NavBackStack<K>>
Expand description

Explicit-key variant for dynamic hosts (loops, tab hosts) where several stacks share one call site. Keys must be unique per stack.