image_cropper_platform_interface library
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
- ImageCropperPlatform
- The interface that implementations of image_cropper must implement.
- 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
- WebTranslations
- 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
Functions
-
aspectRatioPresetName(
CropAspectRatioPreset? preset) → String -
compressFormatName(
ImageCompressFormat format) → String -
cropStyleName(
CropStyle style) → String -
rotationAngleToNumber(
RotationAngle angle) → int
Typedefs
-
CropperDialogBuilder
= Dialog Function(Widget cropper, Future<
String?> crop(), void rotate(RotationAngle)) -
CropperRouteBuilder
= PageRoute<
String> Function(Widget cropper, Future<String?> crop(), void rotate(RotationAngle))