hasChildren property

bool get hasChildren
inherited

Whether this component has any children. Avoids the creation of the children container if not necessary.

Implementation

bool get hasChildren => _children?.isNotEmpty ?? false;