VoiceMessageConfiguration class
A configuration model class for voice message bubble.
Constructors
- VoiceMessageConfiguration({PlayerWaveStyle? playerWaveStyle, EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 8), EdgeInsets? margin, BoxDecoration? decoration, Curve? animationCurve, Duration? animationDuration, Icon? pauseIcon, Icon? playIcon, EdgeInsets? waveformMargin, EdgeInsets? waveformPadding, bool enableSeekGesture = true})
-
const
Properties
- animationCurve → Curve?
-
Curve for for grow animation for waveform. Default to Curve.easeIn.
final
- animationDuration → Duration?
-
Duration for grow animation for waveform. Default to 500 ms.
final
- decoration → BoxDecoration?
-
BoxDecoration for voice message bubble.
final
- enableSeekGesture → bool
-
Enable/disable seeking with gestures. Enabled by default.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- margin → EdgeInsets?
-
Applies margin to message bubble.
final
- padding → EdgeInsets
-
Applies padding to message bubble.
final
- pauseIcon → Icon?
-
Icon for pausing audio
final
- playerWaveStyle → PlayerWaveStyle?
-
Applies style to waveform.
final
- playIcon → Icon?
-
Icon for playing the audio.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- waveformMargin → EdgeInsets?
-
Applies padding to waveform.
final
- waveformPadding → EdgeInsets?
-
Applies padding 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