RCKVoiceStyleConfig class

语音消息样式配置

Constructors

RCKVoiceStyleConfig.new({double iconSize = kBubbleVoiceIconSize, Color? playingColor, Color? notPlayingColor, String? customPlayingIconPath, String? customNotPlayingIconPath, TextStyle? durationTextStyle})
构造函数
const

Properties

customNotPlayingIconPath String?
自定义未播放图标路径
final
customPlayingIconPath String?
自定义已播放图标路径
final
durationTextStyle TextStyle?
时长文本样式
final
hashCode int
The hash code for this object.
no setterinherited
iconSize double
播放图标尺寸
final
notPlayingColor Color?
未播放图标颜色
final
playingColor Color?
播放中图标颜色
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({double? iconSize, Color? playingColor, Color? notPlayingColor, String? customPlayingIconPath, String? customNotPlayingIconPath, TextStyle? durationTextStyle}) RCKVoiceStyleConfig
创建一个新的配置,覆盖当前配置的某些属性
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