BubbleConfig constructor

const BubbleConfig({
  1. double minRadius = 10,
  2. double maxRadius = 40,
  3. double minSpeed = 1,
  4. double maxSpeed = 3,
  5. double minOpacity = 0.2,
  6. double maxOpacity = 0.8,
  7. bool enableGradient = false,
  8. List<Color> gradientColors = const [Colors.blue, Colors.lightBlue],
  9. bool enablePulsing = false,
  10. Duration pulsingDuration = const Duration(seconds: 2),
  11. bool enableWobble = false,
  12. double wobbleIntensity = 5.0,
})

Implementation

const BubbleConfig({
  this.minRadius = 10,
  this.maxRadius = 40,
  this.minSpeed = 1,
  this.maxSpeed = 3,
  this.minOpacity = 0.2,
  this.maxOpacity = 0.8,
  this.enableGradient = false,
  this.gradientColors = const [Colors.blue, Colors.lightBlue],
  this.enablePulsing = false,
  this.pulsingDuration = const Duration(seconds: 2),
  this.enableWobble = false,
  this.wobbleIntensity = 5.0,
});