hasChild property
bool
get
hasChild
Whether this render object currently has a child.
Implementation
bool get hasChild => _child != null;
Whether this render object currently has a child.
bool get hasChild => _child != null;