Extends Item

StackView

A stack view maintains a stack of views. You can add new views onto the stack, optionally with an animated transition.

The topmost view on the stack is the active view that the user can interact with.

function push(Item page) → Item

function push(element()->Item page) → Item

optional View.Transition transition = .Default

The transition to use for the push.

function dismiss()

function dismiss(Item page)

optional View.Transition transition = .Default

The transition to use for the dismiss. If a transition is not supplied the visual opposite of the push()/present() transition is used.

function dismissToFirst()

Dismiss all but the first page in the stack.