SColumnThemeData class

MoreContentType.column 样式配置

Constructors

SColumnThemeData({int? maxLine = 1, double height = 30, Widget? icon1, Widget? icon2, Widget? iconMulti1, Widget? iconMulti2, Widget? iconMulti3, TextStyle selectedStyle = const TextStyle(color: Color(0xffE72410), fontSize: 14, fontWeight: FontWeight.w600), TextStyle unselectedStyle = const TextStyle(color: Color(0xff20263A), fontSize: 14, fontWeight: FontWeight.normal)})
const

Properties

hashCode int
The hash code for this object.
no setteroverride
height double
每行高度
final
icon1 Widget?
单选选中图标
final
icon2 Widget?
单选未选中图标
final
iconMulti1 Widget?
多选选中图标
final
iconMulti2 Widget?
多选未选中图标
final
iconMulti3 Widget?
多选子集未全选图标
final
maxLine int?
最大显示行数
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedStyle TextStyle
文字内容字体
final
unselectedStyle TextStyle
文字内容字体
final

Methods

copyWith({TextStyle? selectedStyle, TextStyle? unselectedStyle, double? height, Widget? icon1, Widget? icon2, Widget? iconMulti1, Widget? iconMulti2, Widget? iconMulti3, int? maxLine}) SColumnThemeData
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 ==(covariant SColumnThemeData other) bool
The equality operator.
override