WizardScopeState class
The state of a WizardScope
, accessed via Wizard.of(context)
.
- Inheritance
-
- Object
- State<
WizardScope> - WizardScopeState
Constructors
Properties
- arguments → Object?
-
Arguments passed from the previous page.
no setter
- context → BuildContext
-
The location in the tree where this widget builds.
no setterinherited
- controller → WizardController
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasNext → bool
-
Returns
false
if the wizard page is the last page.no setter - hasPrevious → bool
-
Returns
false
if the wizard page is the first page.no setter - isLoading → bool
-
Returns
true
if the wizard is awaiting anonLoad
callback.no setter - mounted → bool
-
Whether this State object is currently in a tree.
no setterinherited
- routeData → Object?
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- widget → WizardScope
-
The current configuration.
no setterinherited
- wizardData → Object?
-
no setter
Methods
-
activate(
) → void -
Called when this object is reinserted into the tree after having been
removed via deactivate.
inherited
-
back<
T extends Object?> ([T? result]) → void -
Requests the wizard to show the previous page. Optionally,
result
can be returned to the previous page. -
build(
BuildContext context) → Widget -
Describes the part of the user interface represented by this widget.
override
-
deactivate(
) → void -
Called when this object is removed from the tree.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
didChangeDependencies(
) → void -
Called when a dependency of this State object changes.
inherited
-
didUpdateWidget(
covariant WizardScope oldWidget) → void -
Called whenever the widget configuration changes.
inherited
-
dispose(
) → void -
Called when this object is removed from the tree permanently.
inherited
-
home(
) → void - Requests the wizard to show the first page.
-
initState(
) → void -
Called when this object is inserted into the tree.
inherited
-
jump<
T extends Object?> (String route, {Object? arguments}) → Future< T?> -
Requests the wizard to jump to a specific page. Optionally,
arguments
can be passed to the page. -
next<
T extends Object?> ({Object? arguments}) → Future< T?> -
Requests the wizard to show the next page. Optionally,
arguments
can be passed to the next page. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reassemble(
) → void -
Called whenever the application is reassembled during debugging, for
example during hot reload.
inherited
-
replace<
T extends Object?> ({Object? arguments}) → Future< T?> -
Requests the wizard to replace the current page with the next one.
Optionally,
arguments
can be passed to the next page. -
setState(
VoidCallback fn) → void -
Notify the framework that the internal state of this object has changed.
inherited
-
showError<
T extends Object?> (Object error) → Future< T?> - Requests the wizard to jump to the error page, if available.
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringShort(
) → String -
A brief description of this object, usually just the runtimeType and the
hashCode.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited