advanced_cropper library

Compatibility alias for flutter_crop_image.

Classes

AdvancedCropper
The core, reusable, headless image cropping widget.
AdvancedCropperView
Complete, ready-to-use turnkey crop screen widget.
CropAspectRatio
Defines an aspect ratio constraint for the cropping window.
CropAutoDetector
Abstract contract for automatic document and edge detection engines.
CropController
Primary controller for manipulating image cropping transformations and exporting results.
CropEngineDelegate
Delegate interface implemented by AdvancedCropper to bind engine operations to CropController.
CropExportConfiguration
Configuration options for exporting the cropped image result.
CropGestureConfiguration
Configuration options for touch gestures, pinch-zoom, and boundary constraints.
CropGrid
Widget rendering grid guide lines inside the crop boundary.
CropGridConfiguration
Configuration options for composition guide grid lines.
CropGridPainter
Custom painter for composition guide lines within the crop window.
CropHandles
Widget rendering the corner resize handles.
CropHandlesPainter
Custom painter rendering classic L-bracket corner handles.
CropOverlay
Widget that paints the dimmed overlay mask and border around the crop frame.
CropOverlayConfiguration
Configuration options for the cropping window overlay, border, and resize handles.
CropOverlayPainter
Custom painter rendering the dimmed background mask and crop window border.
CropperConfiguration
Top-level immutable configuration for AdvancedCropper.
CropperTheme
Complete visual styling configuration for the cropper and its UI controls.
CropProcessingConfiguration
Memory and raster processing performance safeguards.
CropProcessor
Abstract contract for processing and rendering cropped image data.
CropRect
Represents a normalized crop rectangle within a bounding viewport.
CropResult
The result of an image crop and export operation.
CropState
Immutable snapshot representing the active state of an image cropper.
CropTransform
Immutable representation of the 2D transform applied to an image during cropping.
DefaultCropperControls
Ready-to-use, accessible toolbar controls for image cropping.
DetectedDocument
Represents a document detected in an image.
NativeDocumentDetector
Pure-Dart hardware-friendly document and ID card boundary detector.
NativeUiCropProcessor
Default high-performance GPU-accelerated image crop processor using dart:ui.

Enums

CropGridStyle
Alignment guide styles for the crop grid.
CropImageFormat
Supported image formats for exported cropped images.
CropShape
Geometric shapes supported for image crop windows.

Typedefs

CropImage = AdvancedCropper
Convenient alias for AdvancedCropper.
CropImageView = AdvancedCropperView
Convenient alias for AdvancedCropperView.
FlutterCropImage = AdvancedCropper
Convenient alias for AdvancedCropper matching package name.
FlutterCropImageView = AdvancedCropperView
Convenient alias for AdvancedCropperView matching package name.

Exceptions / Errors

CropException
Exception thrown when an image crop or transformation operation fails.