image_cropper_platform_interface library
Classes
- CropAspectRatio
- CroppedFile
- A CroppedFile is a cross-platform, simplified File abstraction.
- ImageCropperPlatform
- The interface that implementations of image_cropper must implement.
- PlatformUiSettings
- An abstract class encapsulates UI attributes for customization
Enums
- CropAspectRatioPreset
- A set of preset values can be used to setup the menu of crop aspect ratio options in the cropper view.
- 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
Functions
-
aspectRatioPresetName(
CropAspectRatioPreset? preset) → String -
compressFormatName(
ImageCompressFormat format) → String -
cropStyleName(
CropStyle style) → String