InheritedWidget class abstract
A widget that propagates information down the tree.
Constructors
- InheritedWidget({required Widget child})
-
Initializes an inherited widget with the given
child.const
Properties
Methods
-
createElement(
) → Element -
Creates an Element to manage this widget's location in the tree.
override
-
getIntrinsicHeight(
int width) → int -
Computes the intrinsic height of this widget under the given
widthconstraint.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
render(
Buffer buffer, Rect area) → void -
Renders the widget onto the provided
bufferwithin the specifiedarea.override -
toString(
) → String -
A string representation of this object.
inherited
-
updateShouldNotify(
covariant InheritedWidget oldWidget) → bool - Whether the framework should notify widgets that inherit from this widget.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited