AppbarTitleConfig class
标题区域配置
Constructors
- AppbarTitleConfig.new({String text = 'Chats', TextStyle? textStyle, TextOverflow textOverflow = TextOverflow.ellipsis, Widget? prefixIcon, Widget? suffixIcon, double spacing = 0.0, EdgeInsets padding = const EdgeInsets.only(left: 26 - NavigationToolbar.kMiddleSpacing), double maxWidth = double.infinity, MainAxisAlignment alignment = MainAxisAlignment.center})
Properties
- alignment → MainAxisAlignment
-
对齐方式
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxWidth → double
-
最大宽度
final
- 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
- textOverflow → TextOverflow
-
文本截断方式
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