TTile constructor

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

Implementation

const TTile({
  super.key,
  this.size = TTileSize.h5,
  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,
});