RadioButton constructor
const
RadioButton({
- Key? key,
- required bool checked,
- required ValueChanged<
bool> ? onChanged, - RadioButtonThemeData? style,
- String? semanticLabel,
- FocusNode? focusNode,
- bool autofocus = false,
Implementation
const RadioButton({
Key? key,
required this.checked,
required this.onChanged,
this.style,
this.semanticLabel,
this.focusNode,
this.autofocus = false,
}) : super(key: key);