AudioWaveforms constructor

const AudioWaveforms({
  1. Key? key,
  2. required Size size,
  3. required RecorderController recorderController,
  4. WaveStyle waveStyle = const WaveStyle(),
  5. bool enableGesture = false,
  6. EdgeInsets? padding,
  7. EdgeInsets? margin,
  8. BoxDecoration? decoration,
  9. Color? backgroundColor,
  10. bool shouldCalculateScrolledPosition = false,
})

Implementation

const AudioWaveforms({
  Key? key,
  required this.size,
  required this.recorderController,
  this.waveStyle = const WaveStyle(),
  this.enableGesture = false,
  this.padding,
  this.margin,
  this.decoration,
  this.backgroundColor,
  this.shouldCalculateScrolledPosition = false,
}) : super(key: key);