BackgroundImageGame constructor

BackgroundImageGame({
  1. required Vector2 offset,
  2. required String imagePath,
  3. double factor = 1,
  4. double parallaxX = 1,
  5. double parallaxY = 1,
  6. double opacity = 1,
})

Implementation

BackgroundImageGame({
  required this.offset,
  required this.imagePath,
  this.factor = 1,
  this.parallaxX = 1,
  this.parallaxY = 1,
  this.opacity = 1,
});