StreamAudioWaveformThemeData class
A style that overrides the default appearance of
StreamVoiceRecordingAttachment
widgets when used with
StreamVoiceRecordingAttachmentTheme or with the overall
StreamChatTheme's StreamChatThemeData.voiceRecordingAttachmentTheme.
- Mixed-in types
Constructors
Properties
- color → Color?
-
The color of the wave bars.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- heightScale → double?
-
The scale of the height of the bars.
final
- minBarHeight → double?
-
The minimum height of the bars.
final
- progressColor → Color?
-
The color of the progressed wave bars.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- spacingRatio → double?
-
The ratio of the spacing between the bars.
final
Methods
-
copyWith(
{Color? color, Color? progressColor, double? minBarHeight, double? spacingRatio, double? heightScale}) → StreamAudioWaveformThemeData - A copy of StreamAudioWaveformThemeData with specified attributes overridden.
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
override
-
merge(
StreamAudioWaveformThemeData? other) → StreamAudioWaveformThemeData -
Merges this StreamPollOptionsDialogThemeData with the
other
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringShort(
) → String -
A brief description of this object, usually just the runtimeType and the
hashCode.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
lerp(
StreamAudioWaveformThemeData a, StreamAudioWaveformThemeData b, double t) → StreamAudioWaveformThemeData - Linearly interpolate between two StreamPollOptionsDialogThemeData.