RenderObjectWidget class abstract

A widget that creates and manages a RenderObject, analogous to Flutter's RenderObjectWidget.

Subclasses must implement createRenderObject and may override updateRenderObject to synchronize widget properties with the render object.

Inheritance
Implementers

Constructors

RenderObjectWidget({Key? key})
Creates a RenderObjectWidget.
const

Properties

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

createElement() RenderObjectElement
Creates the Element for this widget.
override
createRenderObject(BuildContext context) RenderObject
Creates the RenderObject for this widget.
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, RenderObject renderObject) → void
Updates the renderObject to reflect the current widget configuration.

Operators

operator ==(Object other) bool
The equality operator.
inherited