onChanged property
Called when the user selects a different item.
Receives null when the selection is cleared. Pass null to make the
dropdown read-only (same effect as disabled).
Implementation
final ValueChanged<T?>? onChanged;
Called when the user selects a different item.
Receives null when the selection is cleared. Pass null to make the
dropdown read-only (same effect as disabled).
final ValueChanged<T?>? onChanged;