TTile.sm constructor

const TTile.sm({
  1. Key? key,
  2. String? title,
  3. Widget? titleWidget,
  4. String? subtitle,
  5. Widget? subtitleWidget,
  6. String? desc,
  7. Widget? descWidget,
  8. TextStyle? descStyle,
  9. dynamic icon,
  10. dynamic leading,
  11. String? imageUrl,
  12. List<TKeyValue>? values,
  13. TKeyValueMode? valuesMode,
  14. double? valuesSpacing,
  15. Color? iconColor,
  16. Color? hoveredIconColor,
  17. Color? expandedIconColor,
  18. Color? iconBackgroundColor,
  19. Color? hoveredIconBackgroundColor,
  20. Color? expandedIconBackgroundColor,
  21. EdgeInsetsGeometry? iconPadding,
  22. BorderRadius? iconBorderRadius,
  23. double? iconSize,
  24. TextStyle? titleStyle,
  25. TextStyle? subtitleStyle,
  26. double? spacing,
  27. CrossAxisAlignment? crossAxisAlignment,
  28. Widget? trailing,
  29. VoidCallback? onTap,
  30. EdgeInsetsGeometry? padding,
  31. BorderRadius? borderRadius,
  32. bool isHovered = false,
  33. bool isExpanded = false,
  34. bool iconOnTop = false,
})

Small product / image tile (50px image, 14px font).

Implementation

const TTile.sm({
  super.key,
  this.title,
  this.titleWidget,
  this.subtitle,
  this.subtitleWidget,
  this.desc,
  this.descWidget,
  this.descStyle,
  this.icon,
  this.leading,
  this.imageUrl,
  this.values,
  this.valuesMode,
  this.valuesSpacing,
  this.iconColor,
  this.hoveredIconColor,
  this.expandedIconColor,
  this.iconBackgroundColor,
  this.hoveredIconBackgroundColor,
  this.expandedIconBackgroundColor,
  this.iconPadding,
  this.iconBorderRadius,
  this.iconSize,
  this.titleStyle,
  this.subtitleStyle,
  this.spacing,
  this.crossAxisAlignment,
  this.trailing,
  this.onTap,
  this.padding,
  this.borderRadius,
  this.isHovered = false,
  this.isExpanded = false,
  this.iconOnTop = false,
}) : size = TTileSize.sm;