isExpanded property

bool isExpanded

Whether or not this node is expanded in the tree.

Cannot be expanded if there are no children.

Implementation

bool get isExpanded => _expanded;