SpriteAnimationData constructor

SpriteAnimationData(
  1. List<SpriteAnimationFrameData> frames, {
  2. bool loop = true,
})

Creates a SpriteAnimationData from the given frames and loop parameters.

Implementation

SpriteAnimationData(this.frames, {this.loop = true});