loadParallaxLayer method
Future<ParallaxLayer>
loadParallaxLayer(
- ParallaxData data, {
- ImageRepeat repeat = ImageRepeat.repeatX,
- Alignment alignment = Alignment.bottomLeft,
- LayerFill fill = LayerFill.height,
- Vector2? velocityMultiplier,
- FilterQuality? filterQuality,
Implementation
Future<ParallaxLayer> loadParallaxLayer(
ParallaxData data, {
ImageRepeat repeat = ImageRepeat.repeatX,
Alignment alignment = Alignment.bottomLeft,
LayerFill fill = LayerFill.height,
Vector2? velocityMultiplier,
FilterQuality? filterQuality,
}) {
return ParallaxLayer.load(
data,
velocityMultiplier: velocityMultiplier,
repeat: repeat,
alignment: alignment,
fill: fill,
images: images,
filterQuality: filterQuality,
);
}