pinch_zoom_release_unzoom 1.0.3 pinch_zoom_release_unzoom: ^1.0.3 copied to clipboard
A Widget to let you have a pinch to zoom that returns to the old size after the pinch has ended. Is very similar to the way you can zoom pictures on instagram
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add pinch_zoom_release_unzoom
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
pinch_zoom_release_unzoom: ^1.0.3
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:pinch_zoom_release_unzoom/pinch_zoom_release_unzoom.dart';