onTap property
dynamic Function()?
onTap
final
The callback to invoke when the item is tapped.
Implementation
final Function()? onTap;
The callback to invoke when the item is tapped.
final Function()? onTap;