FlutterCropCameraPlatform class
abstract
- Inheritance
-
- Object
- PlatformInterface
- FlutterCropCameraPlatform
- Implementers
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
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.
-
getMaxZoom()
→ Future<double>
-
Gets the maximum supported zoom level.
-
getPlatformVersion()
→ Future<String?>
-
Retrieves the platform version (debug/info utility).
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
pickImage()
→ Future<String?>
-
Picks a single image from the gallery.
-
pickImages()
→ Future<List<String>?>
-
Picks multiple images from the gallery.
-
setFlashMode(String mode)
→ Future<void>
-
Sets the flash mode.
-
setZoom(double zoom)
→ Future<void>
-
Sets the digital zoom level.
-
startCamera({double quality = 1.0, String facing = 'back', String aspectRatio = '3:4'})
→ Future<int?>
-
Starts the camera with the specified configuration.
-
stopCamera()
→ Future<void>
-
Stops the camera and releases resources.
-
switchCamera()
→ Future<int?>
-
Toggles between front and rear cameras.
-
takePicture()
→ Future<String?>
-
Captures a static image and returns its path.
-
toString()
→ String
-
A string representation of this object.
inherited