ImageLayer constructor

ImageLayer({
  1. required String image,
  2. double parallaxX = 1,
  3. double parallaxY = 1,
  4. bool repeatX = false,
  5. bool repeatY = false,
})

Implementation

ImageLayer({
  required this.image,
  this.parallaxX = 1,
  this.parallaxY = 1,
  this.repeatX = false,
  this.repeatY = false,
});