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

A highly customizable replacement for Flutter's InteractiveViewer with advanced keyboard navigation, gesture controls, rotation support, and programmatic transformations. Features include focal point [...]

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
6
likes
0
points
1.04k
downloads

Publisher

verified publisherali-hnaineh.dev

Weekly Downloads

A highly customizable replacement for Flutter's InteractiveViewer with advanced keyboard navigation, gesture controls, rotation support, and programmatic transformations. Features include focal point zooming, custom animations, bounds constraints, and coordinate mapping.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, vector_math

More

Packages that depend on custom_interactive_viewer