AudioWaveBar constructor

AudioWaveBar({
  1. required double heightFactor,
  2. Color color = Colors.red,
  3. double radius = 50.0,
  4. Gradient? gradient,
})

Implementation

AudioWaveBar({
  required this.heightFactor,
  this.color = Colors.red,
  this.radius = 50.0,
  this.gradient,
})  : assert(heightFactor <= 1),
      assert(heightFactor >= 0);