image_cropper2 library
- author: Hung Duy Ha (hunghd)
- email: hunghd.yb@gmail.com
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
- CroppedFile
- A CroppedFile is a cross-platform, simplified File abstraction.
- CroppieBoundary
- CroppieViewPort
- 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
- WebUiSettings
Enums
- CropAspectRatioPreset
- A set of preset values can be used to setup the menu of crop aspect ratio options in the cropper view.
- CropperPresentStyle
- 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
Typedefs
-
CropperDialogBuilder
= Dialog Function(Widget cropper, Future<
String?> crop(), void rotate(RotationAngle)) -
CropperRouteBuilder
= PageRoute<
String> Function(Widget cropper, Future<String?> crop(), void rotate(RotationAngle))