SeniorRadioButton<T> constructor
const
SeniorRadioButton<T> ({
- Key? key,
- bool disabled = false,
- required T groupValue,
- required dynamic onChanged(
- T?
- SeniorRadioButtonStyle? style,
- bool toggleable = false,
- required String title,
- 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);