RCKReferenceStyleConfig class
引用消息样式配置
Constructors
- RCKReferenceStyleConfig.new({Color? backgroundColor, TextStyle? textStyle, EdgeInsets padding = EdgeInsets.zero, double spacingToContent = kBubbleRefTextPadding})
-
构造函数
const
Properties
- backgroundColor → Color?
-
引用内容背景色
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- padding → EdgeInsets
-
引用内容边距
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- spacingToContent → double
-
引用内容与主内容的间距
final
- textStyle → TextStyle?
-
引用内容文本样式
final
Methods
-
copyWith(
{Color? backgroundColor, TextStyle? textStyle, EdgeInsets? padding, double? spacingToContent}) → RCKReferenceStyleConfig - 创建一个新的配置,覆盖当前配置的某些属性
-
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