OptimusRadioGroup<T> constructor
const
OptimusRadioGroup<T> ({
- Key? key,
- required List<
OptimusGroupItem< items,T> > - required T value,
- required ValueChanged<
T> onChanged, - OptimusRadioSize size = OptimusRadioSize.large,
- String? label,
- String? error,
- 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,
});