onImageClicked property

(void Function(String imageSource)?) onImageClicked
final

What should happen when the image is pressed?

By default will show ImageOptionsMenu dialog. If you want to handle what happens to the image when it's clicked, you can pass a callback to this property.

Implementation

final void Function(String imageSource)? onImageClicked;