MethodChannelImagePickerMaster class
An implementation of ImagePickerMasterPlatform that uses method channels.
This class handles communication between the Dart code and the native platform implementations through Flutter's method channel system.
- Inheritance
-
- Object
- PlatformInterface
- ImagePickerMasterPlatform
- MethodChannelImagePickerMaster
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
capturePhoto(
{required bool allowCompression, required int compressionQuality, required bool withData}) → Future< PickedFile?> -
Captures a photo using the device camera.
override
-
clearTemporaryFiles(
) → Future< void> -
Clears all temporary files created by the plugin.
override
-
getPlatformVersion(
) → Future< String?> -
Returns the platform version string.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pickFiles(
FilePickerOptions options) → Future< List< PickedFile> ?> -
Picks files from the device storage based on the provided options.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited