HNavStack

Class
A widget that manages a stack of NavPageBases.

Fields

defaultTransition: PageTransition

Constructors

HNavStack(defaultTransition: PageTransition, child: Widget, key: Key, constants: object[], modifiers: IReadOnlyCollection<Modifier>)
Creates a widget that manages a stack of NavPageBases.

Parameters

defaultTransition:PageTransition - The default transition to use for page changes if no transition is specified for a particular operation.
child:Widget - The root widget at the back of the stack.
key:Key - Passed on to Widget.key.
constants:object[] - Passed on to Widget.constants.
modifiers:IReadOnlyCollection<Modifier> - Passed on to Widget.modifiers.

Methods

CreateElement(): IWidgetElement
Creates a new IWidgetElement for the given widget configuration.
RemarksUsually, this will create an instance of an IWidgetElement and then call Widget.ReconcileInto to perform the initial reconciliation after that element gets attached to its parent and the panel.
DebugFillProperties(properties: DiagnosticPropertiesBuilder): void

Inherited Members

Extension Methods

ToDiagnosticsNodeSafeIfClipConstDisplayExpandFillFlexibleMarginOpacityPaddingPositionedShrinkSizeStretchTightStretchTightVisibilityWithModifierToBuildableToFactorySpreadDescribeIdentityShortHashToStringNullable

On this page