onChanged property

void Function(T newValue) onChanged
final

The callback triggered when this option is selected.

Implementation

final void Function(T newValue) onChanged;