interactive_viewer_vector 0.2.0 copy "interactive_viewer_vector: ^0.2.0" to clipboard
interactive_viewer_vector: ^0.2.0 copied to clipboard

Fork of the Flutter SDK InteractiveViewer that updates the RenderTransform directly (markNeedsPaint) instead of calling setState on every pan/zoom frame. No widget tree rebuild during pan/zoom interactions.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add interactive_viewer_vector

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

dependencies:
  interactive_viewer_vector: ^0.2.0

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_viewer_vector/interactive_viewer_vector.dart';
0
likes
150
points
102
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Fork of the Flutter SDK InteractiveViewer that updates the RenderTransform directly (markNeedsPaint) instead of calling setState on every pan/zoom frame. No widget tree rebuild during pan/zoom interactions.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

flutter, vector_math

More

Packages that depend on interactive_viewer_vector