active property Null safety

bool active

Whether the selected render object is attached to the tree or has gone out of scope.

Implementation

bool get active => _current != null && _current!.attached;