onTap property Null safety

VoidCallback? onTap
final

Called when the dropdown menu item is tapped.

Implementation

final VoidCallback? onTap;