BubbleBackground constructor

const BubbleBackground({
  1. Key? key,
  2. int numBubbles = 10,
  3. List<Color> colors = const [Colors.blueAccent, Colors.purpleAccent, Colors.tealAccent],
  4. double minRadius = 30,
  5. double maxRadius = 80,
  6. double speed = 1.0,
  7. double blurSigma = 10.0,
  8. Widget? child,
  9. bool isPaused = false,
})

Implementation

const BubbleBackground({
  super.key,
  this.numBubbles = 10,
  this.colors = const [Colors.blueAccent, Colors.purpleAccent, Colors.tealAccent],
  this.minRadius = 30,
  this.maxRadius = 80,
  this.speed = 1.0,
  this.blurSigma = 10.0,
  this.child,
  this.isPaused = false,
});