StacListTile constructor

const StacListTile({
  1. StacWidget? leading,
  2. StacWidget? title,
  3. StacWidget? subtitle,
  4. StacWidget? trailing,
  5. bool? isThreeLine,
  6. bool? dense,
  7. StacVisualDensity? visualDensity,
  8. StacShapeBorder? shape,
  9. StacListTileStyle? style,
  10. String? selectedColor,
  11. String? iconColor,
  12. String? textColor,
  13. StacEdgeInsets? contentPadding,
  14. bool? enabled,
  15. StacAction? onTap,
  16. StacAction? onLongPress,
  17. StacMouseCursor? mouseCursor,
  18. bool? selected,
  19. String? focusColor,
  20. String? hoverColor,
  21. bool? autofocus,
  22. String? tileColor,
  23. String? selectedTileColor,
  24. bool? enableFeedback,
  25. double? horizontalTitleGap,
  26. double? minVerticalPadding,
  27. double? minLeadingWidth,
  28. StacListTileTitleAlignment? titleAlignment,
})

Creates a StacListTile with the given properties.

Implementation

const StacListTile({
  this.leading,
  this.title,
  this.subtitle,
  this.trailing,
  this.isThreeLine,
  this.dense,
  this.visualDensity,
  this.shape,
  this.style,
  this.selectedColor,
  this.iconColor,
  this.textColor,
  this.contentPadding,
  this.enabled,
  this.onTap,
  this.onLongPress,
  this.mouseCursor,
  this.selected,
  this.focusColor,
  this.hoverColor,
  this.autofocus,
  this.tileColor,
  this.selectedTileColor,
  this.enableFeedback,
  this.horizontalTitleGap,
  this.minVerticalPadding,
  this.minLeadingWidth,
  this.titleAlignment,
});