onChanged property
dynamic Function(T?)
onChanged
final
Defines the value that will be assigned to the internal Radio onChanged property. Called when the user selects this radio button.
Implementation
final Function(T?) onChanged;