TLListItemStyle class

Constructors

TLListItemStyle({bool isRequire = false, bool showLeading = true, int leadingTextMaxLines = 2, String? contentHintText = "请输入", List<TextInputFormatter>? inputFormatters, int? maxLength, bool? enabled, TextInputType? keyboardType = TextInputType.text, bool showTrailing = false, Icon? trailingIcon, IconData? trailingIconData, Color trailingIconColor = const Color(0xFFC8C9CC), bool showDivider = true, Color dividerColor = const Color(0xFFF7F8FA)})
const

Properties

contentHintText String?
在输入框内的提示文字
final
dividerColor Color
下划线颜色 默认: const Color(0xFFF7F8FA)
final
enabled bool?
输入框是否禁用;如果为false,则输入框会被禁用,禁用状态不接收输入和手势事件,同时显示禁用态样式(在其decoration中定义)。
final
hashCode int
The hash code for this object.
no setterinherited
inputFormatters List<TextInputFormatter>?
用于指定输入格式;当用户输入内容改变时,会根据指定的格式来校验。
final
isRequire bool
是否显示必填 * 符号 默认隐藏
final
keyboardType TextInputType?
键盘模式
final
leadingTextMaxLines int
左Builder中文本text显示行数,默认2行
final
maxLength int?
文本长度格式限制
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showDivider bool
是否显示下划线
final
showLeading bool
是否显示左Builder
final
showTrailing bool
是否显示右Builder,默认隐藏
final
trailingIcon Icon?
右Builder Icon
final
trailingIconColor Color
右Builder IconColor 默认: const Color(0xFFC8C9CC)
final
trailingIconData IconData?
右Builder IconData
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