onChanged property

ValueChanged<T?>? onChanged
final

Callback invoked when the user selects a different item.

Called when the user taps on an item in the picker. The callback receives the selected item, or null if the selection is cleared.

Implementation

final ValueChanged<T?>? onChanged;