VoiceRecordingConfiguration constructor

const VoiceRecordingConfiguration({
  1. WaveStyle? waveStyle,
  2. EdgeInsets? padding,
  3. EdgeInsets? margin,
  4. BoxDecoration? decoration,
  5. Color? backgroundColor,
  6. Widget? micIcon,
  7. Color? recorderIconColor,
  8. Widget? stopIcon,
  9. int? sampleRate,
  10. int? bitRate,
  11. AndroidEncoder? androidEncoder,
  12. IosEncoder? iosEncoder,
  13. AndroidOutputFormat? androidOutputFormat,
})

Styling configuration for the recorder widget as well as configuring the audio recording quality.

Implementation

const VoiceRecordingConfiguration({
  this.waveStyle,
  this.padding,
  this.margin,
  this.decoration,
  this.backgroundColor,
  this.micIcon,
  this.recorderIconColor,
  this.stopIcon,
  this.sampleRate,
  this.bitRate,
  this.androidEncoder,
  this.iosEncoder,
  this.androidOutputFormat,
});