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