SeniorRadioButton<T> constructor

const SeniorRadioButton<T>({
  1. Key? key,
  2. bool disabled = false,
  3. required T groupValue,
  4. required dynamic onChanged(
    1. T?
    ),
  5. SeniorRadioButtonStyle? style,
  6. bool toggleable = false,
  7. required String title,
  8. required T value,
})

Creates the Radio Button component of the SDS.

The groupValue, onChanged, title and value parameters are required.

Implementation

const SeniorRadioButton({
  Key? key,
  this.disabled = false,
  required this.groupValue,
  required this.onChanged,
  this.style,
  this.toggleable = false,
  required this.title,
  required this.value,
}) : super(key: key);