loadParallaxAnimation method
Future<ParallaxAnimation>
loadParallaxAnimation(
- String path,
- SpriteAnimationData animationData, {
- ImageRepeat repeat = ImageRepeat.repeatX,
- Alignment alignment = Alignment.bottomLeft,
- LayerFill fill = LayerFill.height,
- 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,
);
}