crop_your_image library

Classes

Crop
Widget for the entry point of crop_your_image.
CropController
Controller to control crop actions.
CropControllerDelegate
Delegate of actions from CropController
DotControl
Defalt dot widget placed on corners to control cropping area. This Widget automaticall fits the appropriate size.
ImageCropper<T>
Interface for cropping logic
ImageDetail<T>
Image with detail information.

Enums

CropStatus
EdgeAlignment
position of dot control
ImageFormat
Enum for the format of an image

Constants

defaultFormatDetector → const FormatDetector?
defaultImageCropper → const ImageImageCropper

Properties

defaultImageParser ImageParser<Image>
final

Typedefs

CornerDotBuilder = Widget Function(double size, EdgeAlignment edgeAlignment)
CroppingRectBuilder = ViewportBasedRect Function(ViewportBasedRect viewportRect, ViewportBasedRect imageRect)
FormatDetector = ImageFormat Function(Uint8List data)
Interface for detecting image format from given data.
ImageBasedRect = Rect
ImageParser<T> = ImageDetail<T> Function(Uint8List data, {ImageFormat? inputFormat})
Interface for parsing image and build ImageDetail from given data.
ViewportBasedRect = Rect
WillUpdateScale = bool Function(double newScale)