ModernMiniAudioPlayerOptions class

Options for ModernMiniAudioPlayer.

Constructors

ModernMiniAudioPlayerOptions.new({required MediaStream? stream, required Consumer consumer, required String remoteProducerId, required ModernMiniAudioPlayerParameters parameters, Widget miniAudioComponent(Map<String, dynamic>)?, Map<String, dynamic>? miniAudioProps, bool useGlassmorphism = true, bool showWaveformBars = true, int waveformBarCount = 5, Color? waveformColor, Color? backgroundColor, bool showGlowEffect = true, bool animateWaveform = true})

Properties

animateWaveform → bool
final
backgroundColor → Color?
final
consumer → Consumer
final
hashCode → int
The hash code for this object.
no setterinherited
miniAudioComponent → Widget Function(Map<String, dynamic>)?
final
miniAudioProps → Map<String, dynamic>?
final
parameters → ModernMiniAudioPlayerParameters
final
remoteProducerId → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
showGlowEffect → bool
final
showWaveformBars → bool
final
stream → MediaStream?
final
useGlassmorphism → bool
final
waveformBarCount → int
final
waveformColor → Color?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited