loadParallax method
Future<Parallax>
loadParallax(
- List<
ParallaxData> dataList, { - Vector2? size,
- Vector2? baseVelocity,
- Vector2? velocityMultiplierDelta,
- ImageRepeat repeat = ImageRepeat.repeatX,
- Alignment alignment = Alignment.bottomLeft,
- LayerFill fill = LayerFill.height,
- FilterQuality? filterQuality,
Implementation
Future<Parallax> loadParallax(
List<ParallaxData> dataList, {
Vector2? size,
Vector2? baseVelocity,
Vector2? velocityMultiplierDelta,
ImageRepeat repeat = ImageRepeat.repeatX,
Alignment alignment = Alignment.bottomLeft,
LayerFill fill = LayerFill.height,
FilterQuality? filterQuality,
}) {
return Parallax.load(
dataList,
size: size,
baseVelocity: baseVelocity,
velocityMultiplierDelta: velocityMultiplierDelta,
repeat: repeat,
alignment: alignment,
fill: fill,
images: images,
filterQuality: filterQuality,
);
}