flutter example

resize_rotate_image

pub version

A Flutter package that allows you to easily resize, rotate, and drag images on a canvas using intuitive gestures.

Features

  • Resize Images: Effortlessly resize images with a simple pinch-to-zoom gesture.
  • Rotate Images: Rotate images smoothly using a two-finger rotation gesture.
  • Drag and Drop: Freely drag images around the canvas to position them perfectly.
  • Control Buttons: Includes convenient buttons for:
    • Resetting image size: Returns the image to its original dimensions.
    • Resetting rotation: Aligns the image back to its initial orientation.
    • Deleting images: Removes the selected image from the canvas.
  • Customizable:
    • Set minimum and maximum size limits for resizing.
  • Developer-Friendly:
    • Displays global and local mouse coordinates for easy debugging and precise control.

Getting started

To use this package, add resize_rotate_images as a dependency in your pubspec.yaml file.

Installation

Add resize_rotate_image to your pubspec.yaml file:

dependencies:
  resize_rotate_image: ^1.0.0