BubbleConfig constructor
const
BubbleConfig({
- double minRadius = 10,
- double maxRadius = 40,
- double minSpeed = 1,
- double maxSpeed = 3,
- double minOpacity = 0.2,
- double maxOpacity = 0.8,
- bool enableGradient = false,
- List<
Color> gradientColors = const [Colors.blue, Colors.lightBlue], - bool enablePulsing = false,
- Duration pulsingDuration = const Duration(seconds: 2),
- bool enableWobble = false,
- 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,
});