FormRadio constructor

FormRadio({
  1. Key? key,
  2. required FormConfig config,
  3. required dynamic onChanged(
    1. dynamic value
    ),
  4. EasyFormzTheme? theme,
})

Creates a FormRadio widget.

The config and onChanged parameters must not be null. The theme parameter is optional and defaults to EasyFormzTheme if not provided.

Implementation

FormRadio({
  super.key,
  required this.config,
  required this.onChanged,
  EasyFormzTheme? theme,
}) : theme = theme ?? EasyFormzTheme();