onChanged property

ValueChanged<T>? onChanged
final

Called with the value of the item the user chooses. Null disables the button, as enabled false does.

Implementation

final ValueChanged<T>? onChanged;