TTile<T> constructor

const TTile<T>({
  1. Key? key,
  2. required String title,
  3. TextStyle? titleStyle,
  4. TextStyle? subtitleStyle,
  5. Color? backgroundColor,
  6. Color? disableBackgroundColor,
  7. Color? borderColor,
  8. BorderRadius? borderRadius,
  9. Color? textColor,
  10. bool? enable = true,
  11. String? subtitle,
  12. String? detail,
  13. Widget? prefixIcon,
  14. Widget? suffixIcon,
  15. EdgeInsets? padding,
  16. T? value,
  17. T? groupValue,
  18. ValueChanged<T>? onChanged,
  19. bool showRadio = false,
  20. VoidCallback? onPress,
})

Implementation

const TTile({
  super.key,
  required this.title,
  this.titleStyle,
  this.subtitleStyle,
  this.backgroundColor,
  this.disableBackgroundColor,
  this.borderColor,
  this.borderRadius,
  this.textColor,
  this.enable = true,
  this.subtitle,
  this.detail,
  this.prefixIcon,
  this.suffixIcon,
  this.padding,
  this.value,
  this.groupValue,
  this.onChanged,
  this.showRadio = false,
  this.onPress,
});