photo_view_x enables images to become able to zoom and pan with user gestures such as pinch and drag. In the gallery, you can slide down the gradient to return to the previous page
Add the package to your pubspec.yaml
:
dependencies:
photo_view_x: <latest_version>