TLListItemStyle constructor
const
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),
Implementation
const TLListItemStyle({
this.isRequire = false,
this.showLeading = true,
this.leadingTextMaxLines = 2,
this.contentHintText = "请输入",
this.inputFormatters,
this.maxLength,
this.enabled,
this.keyboardType = TextInputType.text,
this.showTrailing = false,
this.trailingIcon,
this.trailingIconData,
this.trailingIconColor = const Color(0xFFC8C9CC),
this.showDivider = true,
this.dividerColor = const Color(0xFFF7F8FA),
});