interactive_canvas 0.0.2
interactive_canvas: ^0.0.2 copied to clipboard
Turns any child into an interactive canvas. Interactive Canvas supports zoom, pan and rotation and you can optionally control the canvas with a controller. Using controller you can get/set the scale, [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add interactive_canvasThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
interactive_canvas: ^0.0.2Alternatively, 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:interactive_canvas/interactive_canvas.dart';