OptimusRadioGroup<T> constructor

const OptimusRadioGroup<T>({
  1. Key? key,
  2. required List<OptimusGroupItem<T>> items,
  3. required T value,
  4. required ValueChanged<T> onChanged,
  5. OptimusRadioSize size = OptimusRadioSize.large,
  6. String? label,
  7. String? error,
  8. bool isEnabled = true,
})

Implementation

const OptimusRadioGroup({
  super.key,
  required this.items,
  required this.value,
  required this.onChanged,
  this.size = OptimusRadioSize.large,
  this.label,
  this.error,
  this.isEnabled = true,
});