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.

Changelog #

0.1.1 #

  • Removed all dead rotation gesture code from the SDK fork (unused _rotateEnabled, _matrixRotate, _getAxisAlignedBoundingBoxWithRotation, _GestureType.rotate, two TODOs referencing flutter/flutter#57698). Rotation was designed for geographic map use cases, never completed upstream, and irrelevant for this package's target use cases.
  • CI/CD pipeline added (GitHub Actions): format check (line 120), analyze, unit + widget tests, builds for Android, Linux, Windows, macOS, iOS, and auto-release on main push.

0.1.0 #

  • Initial public release.
  • Fork of the Flutter SDK InteractiveViewer with direct RenderTransform updates (markNeedsPaint) instead of setState during pan/zoom.
  • Same public API as the SDK widget, renamed: InteractiveViewerVector, TransformationControllerVector, InteractiveViewerVectorWidgetBuilder.
  • Unit tests (geometry helpers, controller, constructor assertions), widget tests (no-rebuild guarantee, gestures, builder constructor) and an example app with integration test.
  • Native platforms only: Android, iOS, macOS, Windows, Linux.
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