loadParallaxAnimation method

Future<ParallaxAnimation> loadParallaxAnimation(
  1. String path,
  2. SpriteAnimationData animationData, {
  3. ImageRepeat repeat = ImageRepeat.repeatX,
  4. Alignment alignment = Alignment.bottomLeft,
  5. LayerFill fill = LayerFill.height,
  6. FilterQuality? filterQuality,
})

Implementation

Future<ParallaxAnimation> loadParallaxAnimation(
  String path,
  SpriteAnimationData animationData, {
  ImageRepeat repeat = ImageRepeat.repeatX,
  Alignment alignment = Alignment.bottomLeft,
  LayerFill fill = LayerFill.height,
  FilterQuality? filterQuality,
}) {
  return ParallaxAnimation.load(
    path,
    animationData,
    repeat: repeat,
    alignment: alignment,
    fill: fill,
    images: images,
    filterQuality: filterQuality,
  );
}