onChanged property
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;
A callback function that is called when a new option is selected. This function receives the selected option as a parameter.
final Function(String) onChanged;