TOptionTile constructor

const TOptionTile({
  1. Key? key,
  2. required String label,
  3. String? description,
  4. dynamic leading,
  5. required bool selected,
  6. TOptionIndicator indicator = TOptionIndicator.radio,
  7. Color? color,
  8. bool disabled = false,
  9. VoidCallback? onTap,
  10. 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,
});