BarWaveIndicator constructor

const BarWaveIndicator({
  1. Key? key,
  2. double size = 60,
  3. Color color = Colors.black,
  4. Duration duration = const Duration(seconds: 1),
  5. double borderRadius = 0,
})

Creates a bar wave loading indicator.

size - The width of the indicator (default: 60) color - The color of the bars (default: Colors.black) duration - Animation cycle duration (default: 1 second) borderRadius - Corner radius for bars (default: 0)

Implementation

const BarWaveIndicator({
  super.key,
  this.size = 60,
  this.color = Colors.black,
  this.duration = const Duration(seconds: 1),
  this.borderRadius = 0,
});