Widget child

The child that this widget builds.

Mutating this field will cause this widget to rebuild with the new child.

Source

Widget get child => _child;
void child=(Widget child)

Source

set child(Widget child) {
  if (_child == child)
    return;
  setState(() {
    _child = child;
  });
}