onTap property
dynamic Function()?
onTap
final
An optional callback function to be executed when the image is tapped.
Implementation
final Function()? onTap;
An optional callback function to be executed when the image is tapped.
final Function()? onTap;