MethodChannelFlutterCropCamera class

An implementation of FlutterCropCameraPlatform that uses method channels.

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The MethodChannel used to interact with the native side (Android/iOS). This must match the channel name defined in the native code.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

cropImage({required String path, required int x, required int y, required int width, required int height, int rotationDegrees = 0, bool flipX = false, int quality = 100}) Future<String?>
Crops, rotates, and flips an image.
override
getMaxZoom() Future<double>
Gets the maximum supported zoom level.
override
getPlatformVersion() Future<String?>
Retrieves the platform version (debug/info utility).
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pickImage() Future<String?>
Picks a single image from the gallery.
override
pickImages() Future<List<String>?>
Picks multiple images from the gallery.
override
setFlashMode(String mode) Future<void>
Sets the flash mode.
override
setZoom(double zoom) Future<void>
Sets the digital zoom level.
override
startCamera({double quality = 1.0, String facing = 'back', String aspectRatio = '3:4'}) Future<int?>
Starts the camera with the specified configuration.
override
stopCamera() Future<void>
Stops the camera and releases resources.
override
switchCamera() Future<int?>
Toggles between front and rear cameras.
override
takePicture() Future<String?>
Captures a static image and returns its path.
override
toString() String
A string representation of this object.
inherited

Operators

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