onTap property
void Function()
onTap
final
Callback function to be executed when the item is tapped.
Implementation
final void Function() onTap;
Callback function to be executed when the item is tapped.
final void Function() onTap;