onChange property
final
Called with the selected value whenever the dropdown is changed.
{@macro zeta-widget-change-disable} Setting this to null will disable the widget.
Implementation
final void Function(ZetaDropdownItem<dynamic> selectedItem)? onChange;