Radio<T> constructor

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

Creates a new Radio.

Implementation

const Radio({
  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),
});