NiceRadioGroup<T> constructor

const NiceRadioGroup<T>({
  1. Key? key,
  2. required List<NiceRadioItem<T>> items,
  3. required T? value,
  4. required ValueChanged<T> onChanged,
  5. String? label,
  6. bool enabled = true,
  7. Axis direction = Axis.vertical,
  8. double spacing = 4,
})

Implementation

const NiceRadioGroup({
  super.key,
  required this.items,
  required this.value,
  required this.onChanged,
  this.label,
  this.enabled = true,
  this.direction = Axis.vertical,
  this.spacing = 4,
});