ParallaxRainPainter constructor

ParallaxRainPainter({
  1. required int numberOfDrops,
  2. required double dropFallSpeed,
  3. required int numberOfLayers,
  4. required bool trail,
  5. required double dropHeight,
  6. required double dropWidth,
  7. required List<Color> dropColors,
  8. required double trailStartFraction,
  9. required double distanceBetweenLayers,
  10. required ValueNotifier notifier,
})

Implementation

ParallaxRainPainter({
  required this.numberOfDrops,
  required this.dropFallSpeed,
  required this.numberOfLayers,
  required this.trail,
  required this.dropHeight,
  required this.dropWidth,
  required this.dropColors,
  required this.trailStartFraction,
  required this.distanceBetweenLayers,
  required this.notifier,
}) : super(repaint: notifier);