child property Null safety

ChildType? child

The render object's unique child.

Implementation

ChildType? get child => _child;
void child=(ChildType? value)

Implementation

set child(ChildType? value) {
  if (_child != null)
    dropChild(_child!);
  _child = value;
  if (_child != null)
    adoptChild(_child!);
}