SingleChildRenderObjectWidget class abstract
A render-object widget that wraps exactly one child.
- Inheritance
-
- Object
- Widget
- RenderObjectWidget
- SingleChildRenderObjectWidget
- Implementers
- Available extensions
Constructors
- SingleChildRenderObjectWidget({Key? key, Widget? child})
-
const
Properties
Methods
-
animate(
{Duration? duration, Curve? curve, Object? trigger, bool repeat = false}) → Animate -
Available on Widget, provided by the AnimateExtension extension
Starts an Animate chain over this widget.duration/curveapply to the whole chain. With notriggerit plays on mount; with a non-null trigger it rests on mount and replays whenever the token changes. -
createElement(
) → SingleChildRenderObjectElement -
Creates the Element that will mount this widget into the tree.
override
-
createRenderObject(
BuildContext context) → RenderObject -
Creates the render object backing this widget. Called once when the
element first mounts.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateRenderObject(
BuildContext context, covariant RenderObject renderObject) → void -
Applies any changes from a new widget instance to the existing
render object. Default is a no-op; subclasses override when the
widget carries layout/paint configuration.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited