discontinuedPackage esotericsoftware_spine_flutter has been discontinued and replaced by spine_flutter.

clearTracks method

void clearTracks()

Removes all animations from all tracks, leaving skeletons in their previous pose. It may be desired to use AnimationState.setEmptyAnimations(float) to mix the skeletons back to the setup pose, rather than leaving them in their previous pose.

Implementation

void clearTracks() {
  _bindings.spine_animation_state_clear_tracks(_state);
}