LeafRenderObjectWidget class abstract
A render object widget without children.
Constructors
- LeafRenderObjectWidget({Key? key})
-
For subclasses.
const
Properties
Methods
-
createElement(
) → LeafRenderObjectElement -
Inflates this widget into a new element for the tree.
override
-
createRenderObject(
BuildContext context) → RenderObject -
Creates the render object, configured from this widget.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Adds what describes this widget in its element's description
(Element.describe) to
properties, those not worth showing (a default) left out; an override calls this first. A render object widget adds only what its render object does not show. Only Element.describe calls it: a frame never does.inherited -
didUnmountRenderObject(
covariant RenderObject renderObject) → void -
Called when the element of
renderObjectwas unmounted: release what the render object holds.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 -
Configures
renderObjectfrom this widget: called when it replaced the widget that created or last configured the render object, and when the element is rebuilt.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited