MacosRadioButton<T> constructor

const MacosRadioButton<T>({
  1. Key? key,
  2. required T value,
  3. required T? groupValue,
  4. required ValueChanged<T?>? onChanged,
  5. double size = 16,
  6. Color? onColor,
  7. Color offColor = CupertinoColors.tertiaryLabel,
  8. Color? innerColor,
  9. String? semanticLabel,
})

Creates a radio button.

size must be non-negative

Implementation

const MacosRadioButton({
  super.key,
  required this.value,
  required this.groupValue,
  required this.onChanged,
  this.size = 16,
  this.onColor,
  this.offColor = CupertinoColors.tertiaryLabel,
  this.innerColor,
  this.semanticLabel,
}) : assert(size >= 0);