isAttached property

bool get isAttached

Whether this controller is currently bound to a mounted Planner. Zoom methods are no-ops and the read getters throw while this is false, so a host that reads zoom/scroll outside a listener notification should guard on it (a freshly constructed controller, or one whose planner has been unmounted, is not attached).

Implementation

bool get isAttached => _inner != null;