TTile<T> constructor
const
TTile<T> ({
- Key? key,
- required String title,
- TextStyle? titleStyle,
- TextStyle? subtitleStyle,
- Color? backgroundColor,
- Color? disableBackgroundColor,
- Color? borderColor,
- BorderRadius? borderRadius,
- Color? textColor,
- bool? enable = true,
- String? subtitle,
- String? detail,
- Widget? prefixIcon,
- Widget? suffixIcon,
- EdgeInsets? padding,
- T? value,
- T? groupValue,
- ValueChanged<
T> ? onChanged, - bool showRadio = false,
- 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,
});