AudioWave constructor

const AudioWave({
  1. required List<AudioWaveBar> bars,
  2. double height = 100,
  3. double width = 200,
  4. double spacing = 5,
  5. String alignment = 'center',
  6. bool animation = true,
  7. int animationLoop = 0,
  8. Duration beatRate = const Duration(milliseconds: 200),
  9. Key? key,
})

Implementation

const AudioWave(
    {required this.bars,
    this.height = 100,
    this.width = 200,
    this.spacing = 5,
    this.alignment = 'center',
    this.animation = true,
    this.animationLoop = 0,
    this.beatRate = const Duration(milliseconds: 200),
    Key? key})
    : super(key: key);