onChanged property

dynamic Function(dynamic value)? onChanged
final

Callback function invoked when the user selects a radio button option.

The callback receives the value of the selected FormOption when the user taps on a radio button.

Implementation

final Function(dynamic value)? onChanged;