CustomListTile constructor

const CustomListTile({
  1. Key? key,
  2. Widget? leading,
  3. Widget? title,
  4. Widget? subtitle,
  5. Widget? trailing,
  6. bool? dense,
  7. VisualDensity? visualDensity,
  8. ShapeBorder? shape,
  9. ListTileStyle? style,
  10. Color? selectedColor,
  11. Color? iconColor,
  12. Color? textColor,
  13. EdgeInsetsGeometry? contentPadding,
  14. void onTap()?,
  15. void onLongPress()?,
  16. MouseCursor? mouseCursor,
  17. Color? focusColor,
  18. Color? hoverColor,
  19. FocusNode? focusNode,
  20. Color? tileColor,
  21. Color? selectedTileColor,
  22. bool? enableFeedback,
  23. double? horizontalTitleGap,
  24. double? minVerticalPadding,
  25. double? minLeadingWidth,
  26. bool isThreeLine = false,
  27. bool enabled = true,
  28. bool selected = false,
  29. bool autofocus = false,
})

Implementation

const CustomListTile({
  Key? key,
  this.leading,
  this.title,
  this.subtitle,
  this.trailing,
  this.dense,
  this.visualDensity,
  this.shape,
  this.style,
  this.selectedColor,
  this.iconColor,
  this.textColor,
  this.contentPadding,
  this.onTap,
  this.onLongPress,
  this.mouseCursor,
  this.focusColor,
  this.hoverColor,
  this.focusNode,
  this.tileColor,
  this.selectedTileColor,
  this.enableFeedback,
  this.horizontalTitleGap,
  this.minVerticalPadding,
  this.minLeadingWidth,
  this.isThreeLine = false,
  this.enabled = true,
  this.selected = false,
  this.autofocus = false,
}) : super(key: key);