SingleChildRenderObjectWidget class abstract

A RenderObjectWidget with a single optional child, analogous to Flutter's SingleChildRenderObjectWidget.

Inheritance
Implementers

Constructors

SingleChildRenderObjectWidget({Key? key, Widget? child})
Creates a SingleChildRenderObjectWidget.
const

Properties

child Widget?
The optional child widget.
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

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

Operators

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