MiniAudioOptions constructor
MiniAudioOptions(- {bool visible = true,
- Map<String, dynamic> customStyle = const {},
- required String name,
- bool showWaveform = false,
- String overlayPosition = 'topRight',
- Color barColor = const Color.fromARGB(255, 245, 28, 28),
- Color textColor = const Color.fromARGB(255, 24, 24, 24),
- TextStyle nameTextStyling = const TextStyle(color: Colors.white, fontWeight: FontWeight.bold),
- String imageSource = 'https://mediasfu.com/images/logo192.png',
- bool roundedImage = false,
- 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 {},
});