OptionsCropWindMacLinux class

OptionsCropWindMacLinux : Configuration options for image cropping functionality on Windows, macOS, and Linux. This class is kept for backward compatibility but now uses the unified picker_image_cropper package.

Constructors

OptionsCropWindMacLinux({CropperTheme cropperTheme = CropperTheme.light, CropAspectRatio? aspectRatio, CropOverlayType overlayType = CropOverlayType.circle, OutputType outputType = OutputType.both, bool showGrid = true, double maxScale = 3.0, bool useDraggableCropper = true, int maxImageSize = 1920, dynamic onImageDoneListener(dynamic)?, void onImageStartLoading()?, void onImageEndLoading()?, dynamic selectedImageRatio, bool visibleOtherAspectRatios = true, double squareBorderWidth = 2, List? customAspectRatios, Color squareCircleColor = Colors.orange, double squareCircleSize = 30, Color defaultTextColor = Colors.black, Color selectedTextColor = Colors.orange, Color colorForWhiteSpace = Colors.white, int encodingQuality = 100, String? workerPath, bool isConstrain = true, bool makeDarkerOutside = true, EdgeInsets? imageEdgeInsets = const EdgeInsets.all(10), bool rootNavigator = false, dynamic outputImageFormat, Key? key})
Constructor for OptionsCropWindMacLinux to initialize cropping configurations.

Properties

aspectRatio CropAspectRatio
The aspect ratio to be applied when cropping. Can be CropAspectRatio.free(), CropAspectRatio.square(), etc.
getter/setter pair
colorForWhiteSpace Color
final
cropperTheme CropperTheme
The cropper theme to be used. Can be CropperTheme.light, CropperTheme.dark, CropperTheme.blue, or a custom theme.
getter/setter pair
customAspectRatios List?
final
defaultTextColor Color
final
encodingQuality int
final
hashCode int
The hash code for this object.
no setterinherited
imageEdgeInsets EdgeInsets?
final
isConstrain bool
final
key Key?
final
makeDarkerOutside bool
final
maxImageSize int
The maximum dimension (width or height) to which large images are resized before cropping to improve performance.
getter/setter pair
maxScale double
The maximum zoom scale allowed.
getter/setter pair
onImageDoneListener → dynamic Function(dynamic)?
final
onImageEndLoading → void Function()?
final
onImageStartLoading → void Function()?
final
outputImageFormat → dynamic
final
outputType OutputType
The output type for the cropped image. Can be OutputType.bytes, OutputType.file, or OutputType.both.
getter/setter pair
overlayType CropOverlayType
The overlay type for the crop area. Can be CropOverlayType.rectangle or CropOverlayType.circle.
getter/setter pair
rootNavigator bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedImageRatio → dynamic
final
selectedTextColor Color
final
showGrid bool
Whether to show a grid inside the crop box.
getter/setter pair
squareBorderWidth double
final
squareCircleColor Color
final
squareCircleSize double
final
useDraggableCropper bool
Enables a draggable crop box.
getter/setter pair
visibleOtherAspectRatios bool
final
workerPath String?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited