FlutterCropCameraWeb class
The web implementation of FlutterCropCameraPlatform.
- Inheritance
-
- Object
- PlatformInterface
- FlutterCropCameraPlatform
- FlutterCropCameraWeb
Constructors
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.
inherited
-
getMaxZoom(
) → Future< double> -
Gets the maximum supported zoom level.
inherited
-
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.
inherited
-
setFlashMode(
String mode) → Future< void> -
Sets the flash mode.
inherited
-
setZoom(
double zoom) → Future< void> -
Sets the digital zoom level.
inherited
-
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.
inherited
-
takePicture(
) → Future< String?> -
Captures a static image and returns its path.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
registerWith(
Registrar registrar) → void - Registers this class as the default instance of FlutterCropCameraPlatform.