RCKFileStyleConfig class

文件消息样式配置

Constructors

RCKFileStyleConfig({double iconSize = kBubbleFileIconSize, TextStyle? fileNameStyle, TextStyle? fileSizeStyle, String? customFileIconPath, double containerWidth = kBubbleFileWidth, double containerHeight = kBubbleFileHeight})
构造函数

Properties

containerHeight → double
容器高度
final
containerWidth → double
容器宽度
final
customFileIconPath → String?
自定义文件图标路径
final
fileNameStyle → TextStyle
no setter
fileSizeStyle → TextStyle
no setter
hashCode → int
The hash code for this object.
no setterinherited
iconSize → double
文件图标尺寸
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({double? iconSize, TextStyle? fileNameStyle, TextStyle? fileSizeStyle, String? customFileIconPath, double? containerWidth, double? containerHeight}) → RCKFileStyleConfig
创建一个新的配置,覆盖当前配置的某些属性
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