custom_interactive_viewer 0.0.3 copy "custom_interactive_viewer: ^0.0.3" to clipboard
custom_interactive_viewer: ^0.0.3 copied to clipboard

A highly customizable alternative for Flutter's InteractiveViewer with advanced keyboard navigation, gesture controls, rotation support, and programmatic transformations.

0.0.3 - 2025-04-13 #

Added #

  • Fix Keyboard Navigation
  • add rotate & rotateto method to controller
  • add centeronrect method to controller
  • update center method (viewportsize and contentsize are no longer required in it)
  • introduced a bunch of flags like 'enableZoom'

0.0.2 - 2024-04-12 #

Added #

  • Fling behavior for smooth inertial scrolling after quick pan gestures
  • Dynamic friction coefficient that's adjusted based on gesture velocity
  • Optimizations for fling animation performance

0.0.1 - 2024-04-12 #

Added #

  • Initial release of the Custom Interactive Viewer package
  • Core CustomInteractiveViewer widget with enhanced pan and zoom capabilities
  • CustomInteractiveViewerController for programmatically controlling transformations
  • TransformationState model for clean state management
  • Support for keyboard navigation with arrow keys and zoom controls
  • Mouse/touch gesture support including pinch-to-zoom and panning
  • Optional content rotation functionality
  • Support for content constraints to keep content within bounds
  • Double-tap to zoom functionality
  • Ctrl+scroll to scale for desktop environments
  • Animation support for all transformations with customizable durations and curves
  • Focal point preservation during zoom operations
  • Helper methods for common operations:
    • Zoom in/out
    • Fit to screen
    • Center content
    • Zoom to specific regions
    • Reset to initial state
5
likes
0
points
1.26k
downloads

Publisher

verified publisherali-hnaineh.dev

Weekly Downloads

A highly customizable alternative for Flutter's InteractiveViewer with advanced keyboard navigation, gesture controls, rotation support, and programmatic transformations.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, vector_math

More

Packages that depend on custom_interactive_viewer