BalloonOverlay constructor
const
BalloonOverlay({
- Key? key,
- int? totalBalloons = 50,
- Duration spawnInterval = const Duration(milliseconds: 800),
- List<
Color> colors = const [Colors.red, Colors.blue, Colors.green, Colors.orange, Colors.purple, Colors.yellow], - double minSize = 60.0,
- double maxSize = 100.0,
- Duration minDuration = const Duration(seconds: 8),
- Duration maxDuration = const Duration(seconds: 12),
Implementation
const BalloonOverlay({
super.key,
this.totalBalloons = 50,
this.spawnInterval = const Duration(milliseconds: 800),
this.colors = const [
Colors.red,
Colors.blue,
Colors.green,
Colors.orange,
Colors.purple,
Colors.yellow,
],
this.minSize = 60.0,
this.maxSize = 100.0,
this.minDuration = const Duration(seconds: 8),
this.maxDuration = const Duration(seconds: 12),
});