StreamVoiceRecordingAttachmentThemeData 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

StreamVoiceRecordingAttachmentThemeData({Color? backgroundColor, Widget? playIcon, Widget? pauseIcon, Widget? loadingIndicator, ButtonStyle? audioControlButtonStyle, TextStyle? titleTextStyle, TextStyle? durationTextStyle, ButtonStyle? speedControlButtonStyle, StreamAudioWaveformSliderThemeData? audioWaveformSliderTheme})
A style that overrides the default appearance of StreamVoiceRecordingAttachment widgets when used with StreamVoiceRecordingAttachmentTheme or with the overall StreamChatTheme's StreamChatThemeData.voiceRecordingAttachmentTheme.
const

Properties

audioControlButtonStyle ButtonStyle?
The style for the audio control button.
final
audioWaveformSliderTheme StreamAudioWaveformSliderThemeData?
The theme for the audio waveform slider.
final
backgroundColor Color?
The background color of the attachment.
final
durationTextStyle TextStyle?
The text style for the duration.
final
hashCode int
The hash code for this object.
no setteroverride
loadingIndicator Widget?
The widget to show when the recording is loading.
final
pauseIcon Widget?
The icon widget to show when the recording is paused.
final
playIcon Widget?
The icon widget to show when the recording is playing.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
speedControlButtonStyle ButtonStyle?
The style for the speed control button.
final
titleTextStyle TextStyle?
The text style for the title.
final

Methods

copyWith({Color? backgroundColor, Widget? playIcon, Widget? pauseIcon, Widget? loadingIndicator, ButtonStyle? audioControlButtonStyle, TextStyle? titleTextStyle, TextStyle? durationTextStyle, ButtonStyle? speedControlButtonStyle, StreamAudioWaveformSliderThemeData? audioWaveformSliderTheme}) StreamVoiceRecordingAttachmentThemeData
A copy of StreamVoiceRecordingAttachmentThemeData with specified attributes overridden.
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
merge(StreamVoiceRecordingAttachmentThemeData? other) StreamVoiceRecordingAttachmentThemeData
Merges this StreamVoiceRecordingAttachmentThemeData 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