SettingBarItem class

Constructors

SettingBarItem({Widget? icon, String? text, String? secondary, String? mark, Icon? markIcon, Widget? markWidget, EdgeInsetsGeometry markWidgetPadding = EdgeInsets.zero, Color? textColor, double? textSize, bool? textBold, Color? secondaryColor, double? secondarySize, bool? secondaryBold, Alignment secondaryAlignment = Alignment.centerLeft, SecondaryDirection secondaryDirection = SecondaryDirection.right, EdgeInsets? secondaryPadding, Color? markColor, double? markSize, bool? markBold, String? tag, dynamic extra, double? height, bool visible = true, BorderRadiusGeometry? borderRadius, bool enable = true, dynamic buildStackList(List<Widget> stacks)?})
const

Properties

borderRadius BorderRadiusGeometry?
选项圆角属性
final
buildStackList → (dynamic Function(List<Widget> stacks)?)
构建定位组件
final
enable bool
是否启用
final
extra → dynamic
扩展数据
final
hashCode int
The hash code for this object.
no setterinherited
height double?
配置项高度
final
icon Widget?
栏目图标
final
mark String?
标注文本(栏目右侧显示)
final
markBold bool?
栏目标注文本加粗
final
markColor Color?
栏目标注文本颜色
final
markIcon Icon?
标注图标(栏目右侧显示)
final
markSize double?
栏目标注文本大小
final
markWidget Widget?
右边图标(markIcon左侧控件)
final
markWidgetPadding EdgeInsetsGeometry
右边图标(markIcon左侧控件内边距)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secondary String?
栏目二级文本
final
secondaryAlignment Alignment
栏目二级文本对齐
final
secondaryBold bool?
栏目二级文本加粗
final
secondaryColor Color?
栏目二级文本颜色
final
secondaryDirection SecondaryDirection
栏目二级文本布局方向 当secondaryDirection==SecondaryDirection.bottom时,secondarySize最大值为10
final
secondaryPadding EdgeInsets?
栏目二级文本内边距
final
secondarySize double?
栏目二级文本大小
final
tag String?
栏目标识
final
text String?
栏目文本
final
textBold bool?
文本加粗
final
textColor Color?
栏目文本颜色
final
textSize double?
文本大小
final
visible bool
是否显示
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