ParallaxRenderer constructor

ParallaxRenderer({
  1. ImageRepeat? repeat,
  2. Alignment? alignment,
  3. LayerFill? fill,
  4. FilterQuality? filterQuality,
})

Implementation

ParallaxRenderer({
  ImageRepeat? repeat,
  Alignment? alignment,
  LayerFill? fill,
  FilterQuality? filterQuality,
})  : repeat = repeat ?? ImageRepeat.repeatX,
      alignment = alignment ?? Alignment.bottomLeft,
      fill = fill ?? LayerFill.height,
      filterQuality = filterQuality ?? FilterQuality.low;