TTile.h3 constructor

const TTile.h3({
  1. Key? key,
  2. String? title,
  3. Widget? titleWidget,
  4. String? subtitle,
  5. Widget? subtitleWidget,
  6. dynamic icon,
  7. dynamic leading,
  8. Color? iconColor,
  9. Color? hoveredIconColor,
  10. Color? expandedIconColor,
  11. Color? iconBackgroundColor,
  12. Color? hoveredIconBackgroundColor,
  13. Color? expandedIconBackgroundColor,
  14. EdgeInsetsGeometry? iconPadding,
  15. BorderRadius? iconBorderRadius,
  16. double? iconSize,
  17. TextStyle? titleStyle,
  18. TextStyle? subtitleStyle,
  19. double? spacing,
  20. CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center,
  21. Widget? trailing,
  22. VoidCallback? onTap,
  23. EdgeInsetsGeometry? padding,
  24. BorderRadius? borderRadius,
  25. bool isHovered = false,
  26. bool isExpanded = false,
})

Heading 3: Medium-large tile for secondary sections and large card headers.

Implementation

const TTile.h3({
  super.key,
  this.title,
  this.titleWidget,
  this.subtitle,
  this.subtitleWidget,
  this.icon,
  this.leading,
  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 = CrossAxisAlignment.center,
  this.trailing,
  this.onTap,
  this.padding,
  this.borderRadius,
  this.isHovered = false,
  this.isExpanded = false,
}) : size = TTileSize.h3;