BalloonOverlay constructor

const BalloonOverlay({
  1. Key? key,
  2. int? totalBalloons = 50,
  3. Duration spawnInterval = const Duration(milliseconds: 800),
  4. List<Color> colors = const [Colors.red, Colors.blue, Colors.green, Colors.orange, Colors.purple, Colors.yellow],
  5. double minSize = 60.0,
  6. double maxSize = 100.0,
  7. Duration minDuration = const Duration(seconds: 8),
  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),
});