SingleChildNode<T extends Widget> class
abstract
A ReassemblableNode with only one child in the Node tree.
- Inheritance
- Mixed-in types
- Implementers
Constructors
- SingleChildNode(T widget)
Properties
-
childNode
↔ Node<
Widget> -
getter/setter pair
- childWidget → Widget
-
no setter
- context → BuildContext
-
latefinalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
parentNode
↔ Node<
Widget> ? -
latefinalinherited
-
parentNodes
→ List<
Node< Widget> > -
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- widget ↔ T
-
If widget is updated while this Node is present in the Node tree,
widgetWillUpdate and widgetDidUpdate are called.
getter/setter pairinherited
Methods
-
dependenciesDidUpdate(
) → void -
Called after the dependencies are updated.
inherited
-
dependOnInheritedWidgetOfExactType<
U extends InheritedWidget> () → U -
Returns the nearest parent InheritedWidget with the exact type
U
.inherited -
dispose(
) → void -
Called after this Node is completely removed from the Node tree.
override
-
enqueueReassembly(
) → void -
Debounces multiple calls to reassemble.
inherited
-
initialize(
) → void -
Called after this Node is added to the Node tree.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reassemble(
) → void -
Updates or replaces this ReassemblableNode's children.
override
-
toString(
) → String -
A string representation of this object.
inherited
-
widgetDidUpdate(
T oldWidget) → void -
Called after the widget is updated. Use this to initialize the new
widget.
inherited
-
widgetWillUpdate(
T newWidget) → void -
Called before the widget is updated. Use this to remove references to
the previous widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited