MiniAudioOptions constructor

MiniAudioOptions(
  1. {bool visible = true,
  2. Map<String, dynamic> customStyle = const {},
  3. required String name,
  4. bool showWaveform = false,
  5. String overlayPosition = 'topRight',
  6. Color barColor = const Color.fromARGB(255, 245, 28, 28),
  7. Color textColor = const Color.fromARGB(255, 24, 24, 24),
  8. TextStyle nameTextStyling = const TextStyle(color: Colors.white, fontWeight: FontWeight.bold),
  9. String imageSource = 'https://mediasfu.com/images/logo192.png',
  10. bool roundedImage = false,
  11. Map<String, dynamic> imageStyle = const {}}
)

Implementation

MiniAudioOptions({
  this.visible = true,
  this.customStyle = const {},
  required this.name,
  this.showWaveform = false,
  this.overlayPosition = 'topRight',
  this.barColor = const Color.fromARGB(255, 245, 28, 28),
  this.textColor = const Color.fromARGB(255, 24, 24, 24),
  this.nameTextStyling =
      const TextStyle(color: Colors.white, fontWeight: FontWeight.bold),
  this.imageSource = 'https://mediasfu.com/images/logo192.png',
  this.roundedImage = false,
  this.imageStyle = const {},
});