ParallaxAnimation constructor

ParallaxAnimation(
  1. SpriteAnimation animation,
  2. List<Image> _prerenderedFrames, {
  3. ImageRepeat? repeat,
  4. Alignment? alignment,
  5. LayerFill? fill,
  6. FilterQuality? filterQuality,
})

Implementation

ParallaxAnimation(
  SpriteAnimation animation,
  this._prerenderedFrames, {
  super.repeat,
  super.alignment,
  super.fill,
  super.filterQuality,
}) : _animationTicker = animation.createTicker();