hasMotion property

bool get hasMotion

Whether there is motion here to play. Two frames is the floor — one is the still the transition started from.

Implementation

bool get hasMotion => frames != null && (frameCount ?? 0) > 1;