interactive_viewer_vector 0.1.1 copy "interactive_viewer_vector: ^0.1.1" to clipboard
interactive_viewer_vector: ^0.1.1 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 Dart:

 $ dart pub add interactive_viewer_vector

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 dart pub get):

dependencies:
  interactive_viewer_vector: ^0.1.1

Alternatively, your editor might support dart pub get or 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
0
points
102
downloads

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

unknown (license)

Dependencies

flutter, vector_math

More

Packages that depend on interactive_viewer_vector