Radio<T> constructor

Radio<T>({
  1. Key? key,
  2. required T value,
  3. required T groupValue,
  4. required String label,
  5. required void onChanged(
    1. T newValue
    ),
  6. bool focused = false,
  7. Style style = Style.empty,
  8. Style focusedStyle = const Style(modifiers: Modifier.reverse),
})

Creates a new Radio.

Implementation

Radio({
  super.key,
  required this.value,
  required this.groupValue,
  required this.label,
  required this.onChanged,
  this.focused = false,
  this.style = Style.empty,
  this.focusedStyle = const Style(modifiers: Modifier.reverse),
});