onChanged property

dynamic Function(String) onChanged
final

A callback function that is called when a new option is selected. This function receives the selected option as a parameter.

Implementation

final Function(String) onChanged;