AudioSpectrum constructor

const AudioSpectrum({
  1. Key? key,
  2. required List<int> fftMagnitudes,
  3. required Widget builder(
    1. BuildContext context,
    2. AudioSpectrumValue value,
    3. Widget? child
    ),
  4. int samplingRate = 44100,
  5. BandType bandType = BandType.tenBand,
  6. double fallSpeed = 0.08,
  7. double sensibility = 8.0,
  8. Widget? child,
})

Implementation

const AudioSpectrum({
  super.key,
  required this.fftMagnitudes,
  required this.builder,
  this.samplingRate = 44100,
  this.bandType = BandType.tenBand,
  this.fallSpeed = 0.08,
  this.sensibility = 8.0,
  this.child,
});