RadioPickerFormField constructor
Implementation
RadioPickerFormField({
required FormFieldSetter<RadioItem> super.onSaved,
required List<RadioItem> items,
void Function(RadioItem value)? onChanged,
super.initialValue,
super.key,
}) : super(
builder: (FormFieldState<RadioItem?> state) => RadioPicker(
onChanged: (value) {
onChanged?.call(value);
state.didChange(value);
},
items: items,
initialValue: initialValue,
),
);