onChanged property

void Function(T)? onChanged
final

The controller to use for the spinner. If null, the default behavior is to create a new controller.

Implementation

final void Function(T)? onChanged;