ZetaAudioVisualizer constructor

const ZetaAudioVisualizer({
  1. Key? key,
  2. bool? rounded,
  3. String? assetPath,
  4. String? url,
  5. String? deviceFilePath,
  6. bool isRecording = false,
  7. Color? backgroundColor,
  8. Color? foregroundColor,
  9. Color? tertiaryColor,
  10. Color? playButtonColor,
  11. VoidCallback? onPause,
  12. VoidCallback? onPlay,
  13. String errorMessage = 'Audio cannot be played',
})

Constructs a ZetaAudioVisualizer.

Implementation

const ZetaAudioVisualizer({
  super.key,
  super.rounded,
  this.assetPath,
  this.url,
  this.deviceFilePath,
  this.isRecording = false,
  this.backgroundColor,
  this.foregroundColor,
  this.tertiaryColor,
  this.playButtonColor,
  this.onPause,
  this.onPlay,
  this.errorMessage = 'Audio cannot be played',
});