ParentDataWidget<T extends ParentData> class
abstract
A widget that applies ParentData to its child's render object, analogous to Flutter's ParentDataWidget.
- Inheritance
- Implementers
Constructors
- ParentDataWidget({Key? key, required Widget child})
-
Creates a ParentDataWidget.
const
Properties
- child → Widget
-
The child widget whose render object receives the parent data.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another in the tree.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
applyParentData(
RenderObject renderObject) → void -
Applies parent data to the given
renderObject. -
createElement(
) → ParentDataElement -
Creates the Element for this widget.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited