onTap property

VoidCallback? onTap
final

Called when the combobox button is tapped.

This is distinct from onChanged, which is called when the user selects an item from the combobox.

The callback will not be invoked if the combobox button is disabled.

Implementation

final VoidCallback? onTap;