BackgroundImage constructor

BackgroundImage({
  1. required int id,
  2. required double speed,
  3. required Widget background,
  4. required double imageVerticalOffset,
  5. required bool centerBackground,
  6. required double imageHorizontalOffset,
})

Implementation

BackgroundImage({
  required this.id,
  required this.speed,
  required this.background,
  required this.imageVerticalOffset,
  required this.centerBackground,
  required this.imageHorizontalOffset,
});