CupertinoRadio<T> constructor
Creates a macOS-styled radio button.
The following arguments are required:
- value and groupValue together determine whether the radio button is selected.
- onChanged is called when the user selects this radio button.
Implementation
const CupertinoRadio({
super.key,
required this.value,
required this.groupValue,
required this.onChanged,
this.mouseCursor,
this.toggleable = false,
this.activeColor,
this.inactiveColor,
this.fillColor,
this.focusColor,
this.focusNode,
this.autofocus = false,
this.useCheckmarkStyle = false,
});