RadioButton constructor

const RadioButton({
  1. Key? key,
  2. required bool checked,
  3. required ValueChanged<bool>? onChanged,
  4. RadioButtonThemeData? style,
  5. String? semanticLabel,
  6. FocusNode? focusNode,
  7. 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);