onTap property

Function? onTap
final

onTap Function called when the user clicks on the Widget before it opens the dialog or the menu. Note that this is not called in case the Widget is disabled.

Implementation

final Function? onTap;