pinch_zoom_any 0.0.1
pinch_zoom_any: ^0.0.1 copied to clipboard
Add pinch-to-zoom, pan, double-tap zoom, and double-tap reset to any Flutter widget. Zero dependencies — pure Flutter.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add pinch_zoom_anyThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
pinch_zoom_any: ^0.0.1Alternatively, 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_any/pinch_zoom_any.dart';