Radio<T> constructor
const
Radio<T> ({
- Key? key,
- bool isSelected = false,
- T? value,
- T? groupValue,
- ValueChanged<
T?> ? onChanged, - ValueChanged<
bool> ? onSelectedChanged, - Color? activeColor,
- double size = 24.0,
Creates a Radio selection instance.
Implementation
const Radio({
super.key,
this.isSelected = false,
this.value,
this.groupValue,
this.onChanged,
this.onSelectedChanged,
this.activeColor,
this.size = 24.0,
});