TLListItemStyle constructor

const TLListItemStyle({
  1. bool isRequire = false,
  2. bool showLeading = true,
  3. int leadingTextMaxLines = 2,
  4. String? contentHintText = "请输入",
  5. List<TextInputFormatter>? inputFormatters,
  6. int? maxLength,
  7. bool? enabled,
  8. TextInputType? keyboardType = TextInputType.text,
  9. bool showTrailing = false,
  10. Icon? trailingIcon,
  11. IconData? trailingIconData,
  12. Color trailingIconColor = const Color(0xFFC8C9CC),
  13. bool showDivider = true,
  14. 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),
});