TOptionTile constructor
const
TOptionTile({
- Key? key,
- required String label,
- String? description,
- dynamic leading,
- required bool selected,
- TOptionIndicator indicator = TOptionIndicator.radio,
- Color? color,
- bool disabled = false,
- VoidCallback? onTap,
- FocusNode? focusNode,
Creates an option tile.
Implementation
const TOptionTile({
super.key,
required this.label,
this.description,
this.leading,
required this.selected,
this.indicator = TOptionIndicator.radio,
this.color,
this.disabled = false,
this.onTap,
this.focusNode,
});