VoiceRecordingConfiguration class

Constructors

VoiceRecordingConfiguration({WaveStyle? waveStyle, EdgeInsets? padding, EdgeInsets? margin, BoxDecoration? decoration, Color? backgroundColor, Widget? micIcon, Color? recorderIconColor, Widget? stopIcon, int? sampleRate, int? bitRate, AndroidEncoder? androidEncoder, IosEncoder? iosEncoder, AndroidOutputFormat? androidOutputFormat})
Styling configuration for the recorder widget as well as configuring the audio recording quality.
const

Properties

androidEncoder → AndroidEncoder?
Audio encoder to be used for recording for Android.
final
androidOutputFormat → AndroidOutputFormat?
The audio output format to be used for recorded audio files on Android.
final
backgroundColor → Color?
If only background color needs to be changed then use this instead of decoration.
final
bitRate → int?
Bitrate is the amount of data per second that the codec uses to encode the audio. A higher bitrate results in better quality but also larger file sizes.
final
decoration → BoxDecoration?
Box decoration containing waveforms
final
hashCode → int
The hash code for this object.
no setterinherited
iosEncoder → IosEncoder?
Audio encoder to be used for recording for IOS.
final
margin → EdgeInsets?
Applies margin around waveform widget.
final
micIcon → Widget?
An icon for recording voice.
final
padding → EdgeInsets?
Applies padding around waveform widget.
final
recorderIconColor → Color?
Applies color to mic and stop icon.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sampleRate → int?
The sample rate for audio is measured in samples per second. A higher sample rate generates more samples per second, resulting in better audio quality but also larger file sizes.
final
stopIcon → Widget?
An icon for stopping voice recording.
final
waveStyle → WaveStyle?
Applies styles to waveform.
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