hasChild property

bool get hasChild

Whether this render object currently has a child.

Implementation

bool get hasChild => _child != null;