image_cropper library

A plugin provides capability of manipulating an image including rotating and cropping.

Note that: this plugin is based on different native libraries depending on Android or iOS platform, so it shows different UI look and feel between those platforms.

Classes

AndroidUiSettings
A helper class provides properties that can be used to customize the cropper view on Android.
CropAspectRatio
CropAspectRatioPresetData
A set of preset values can be used to setup the menu of crop aspect ratio options in the cropper view.
CroppedFile
A CroppedFile is a cross-platform, simplified File abstraction.
CropperSize
ImageCropper
A convenient class wraps all api functions of ImageCropper plugin
IOSUiSettings
A helper class provides properties that can be used to customize the cropper view on iOS.
PlatformUiSettings
An abstract class encapsulates UI attributes for customization
WebThemeData
WebTranslations
WebUiSettings

Enums

CropAspectRatioPreset
CropStyle
Crop style options. There're two supported styles, rectangle and circle. These style will changes the shape of crop bounds, rectangle or circle bounds.
ImageCompressFormat
Supported image compression formats
RotationAngle
WebDragMode
WebPresentStyle
WebViewMode

Typedefs

WebDialogBuilder = Widget Function(Widget cropper, void initCropper(), Future<String?> crop(), void rotate(RotationAngle), void scale(num))
WebRouteBuilder = PageRoute<String> Function(Widget cropper, void initCropper(), Future<String?> crop(), void rotate(RotationAngle), void scale(num))