DialogStackState class
State for DialogStack, providing the push/pop/replace/clear API.
- Inheritance
-
- Object
- State<
DialogStack> - DialogStackState
Constructors
Properties
- context ↔ BuildContext
-
The build context for this state.
getter/setter pairinherited
- depth → int
-
The number of dialogs in the stack.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isOpen → bool
-
Whether any dialog is currently open.
no setter
- mounted → bool
-
Whether this state is currently mounted in the element tree.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- widget ↔ DialogStack
-
The current configuration for this state.
getter/setter pairinherited
Methods
-
build(
BuildContext context) → Widget -
Builds the widget subtree for this state.
override
-
clear(
) → void - Clear all dialogs from the stack.
-
didUpdateWidget(
covariant DialogStack oldWidget) → Cmd? -
Called when the widget configuration changes.
inherited
-
dispose(
) → void -
Called when this state is permanently removed from the tree.
inherited
-
handleInit(
) → Cmd? -
Called once when the widget tree is first mounted.
inherited
-
handleIntercept(
Msg msg) → Cmd? -
Called before children during message dispatch.
override
-
handleUpdate(
Msg msg) → Cmd? -
Called after children during message dispatch.
inherited
-
initState(
) → void -
Called when the state is inserted into the tree.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pop(
) → bool - Pop the top dialog from the stack.
-
push(
Widget dialog) → void - Push a dialog onto the stack.
-
replace(
Widget dialog) → void - Replace the entire stack with a single dialog.
-
setState(
void fn()) → void -
Notifies the framework that this state's internal data has changed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited