ParallaxRainPainter constructor
ParallaxRainPainter({
- required int numberOfDrops,
- required double dropFallSpeed,
- required int numberOfLayers,
- required bool trail,
- required double dropHeight,
- required double dropWidth,
- required List<
Color> dropColors, - required double trailStartFraction,
- required double distanceBetweenLayers,
- 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);