interactive_canvas 0.0.2 copy "interactive_canvas: ^0.0.2" to clipboard
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_canvas

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  interactive_canvas: ^0.0.2

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:interactive_canvas/interactive_canvas.dart';
8
likes
120
points
26
downloads

Publisher

verified publishersiyris.com

Weekly Downloads

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, offset, and rotation values. Interactive Canvas also provides callbacks on the start, update, and end Zoom events. Originally forked from the Zoomer package.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on interactive_canvas