child property
The single render child, or null when there is none.
Implementation
@override
RenderBox? get child => super.child as RenderBox?;
set
child
(RenderBox? value)
Replaces the child, dropping the old one and adopting the new one.
The complete replacement is validated before either edge changes.
Passing the current child is a no-op.
Implementation
set child(RenderBox? value) {
setSingleRenderObjectChild(this, value);
}