RCKChatTitleConfig class
标题配置
Constructors
- RCKChatTitleConfig.new({String? text, TextStyle textStyle = const TextStyle(fontSize: kChatTitleFontSize, color: Colors.black, fontWeight: FontWeight.bold), Widget? prefixIcon, Widget? suffixIcon, double spacing = 4.0, MainAxisAlignment alignment = MainAxisAlignment.center, EdgeInsets padding = EdgeInsets.zero})
-
const
Properties
- alignment → MainAxisAlignment
-
对齐方式
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- padding → EdgeInsets
-
内边距
final
- prefixIcon → Widget?
-
前缀图标
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- spacing → double
-
图标与文本间距
final
- suffixIcon → Widget?
-
后缀图标
final
- text → String?
-
标题文本
final
- textStyle → TextStyle
-
文本样式
final
Methods
-
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