PrefRadio<T> constructor

const PrefRadio<T>({
  1. Widget? title,
  2. required T value,
  3. required String pref,
  4. Key? key,
  5. Widget? subtitle,
  6. bool selected = false,
  7. bool ignoreTileTap = false,
  8. Function? onSelect,
  9. bool? disabled,
  10. Widget? leading,
  11. bool radioFirst = false,
})

Implementation

const PrefRadio({
  this.title,
  required this.value,
  required this.pref,
  super.key,
  this.subtitle,
  this.selected = false,
  this.ignoreTileTap = false,
  this.onSelect,
  this.disabled,
  this.leading,
  this.radioFirst = false,
}) : assert(value != null);