InheritedWidget class abstract
The base class for widgets that efficiently propagate information down the tree.
Constructors
- InheritedWidget({required Widget child, String? key, Ref? ref})
-
const
Properties
Methods
-
createNode(
) → InheritedNode< InheritedWidget> -
Returns a Node corresponding to this Widget at a particular location
in the Node tree.
override
-
matches(
Widget otherWidget) → bool -
Checks if two widgets match during a ReassemblableNode reassembly.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateShouldNotify(
covariant InheritedWidget oldWidget) → bool - Whether ReassemblableNode.reassemble should be called on dependent nodes after this widget is updated.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited