isActive property

bool get isActive

Whether anything is still moving (or pressed).

Implementation

bool get isActive =>
    pressed ||
    _pending.isNotEmpty ||
    _now < _hangUntil ||
    _springs.any((GlassSpring s) => !s.isSettled);