onChanged property

void Function(T? value)? onChanged
final

A function that is called whenever the user clicks a different radio button than the on that is currently selected.

value is the value that was just selected to trigger this function.

Implementation

final void Function(T? value)? onChanged;