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 present(Item page) → Item

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

optional View.Transition transition: .Default

The transition to use for the present.

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.