hasAnimatables property Null safety

bool hasAnimatables

Check whether this Juggler has active animatables or not.

Implementation

bool get hasAnimatables {
  _AnimatableLink? link = _firstAnimatableLink;
  while (identical(link, _lastAnimatableLink) == false) {
    if (link?.animatable != null) return true;
    link = link?.nextAnimatableLink;
  }
  return false;
}