ImagePickerMasterPlatform class abstract

The interface that implementations of image_picker_master must implement.

Platform implementations should extend this class rather than implement it as ImagePickerMasterPlatform. Extending this class (using extends) ensures that the subclass will get the default implementation, while platform implementations that implements this interface will be broken by newly added ImagePickerMasterPlatform methods.

Inheritance
  • Object
  • PlatformInterface
  • ImagePickerMasterPlatform
Implementers

Constructors

ImagePickerMasterPlatform()
Constructs a ImagePickerMasterPlatform.

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

capturePhoto({required bool allowCompression, required int compressionQuality, required bool withData}) Future<PickedFile?>
Captures a photo using the device camera.
clearTemporaryFiles() Future<void>
Clears all temporary files created by the plugin.
getPlatformVersion() Future<String?>
Returns the platform version string.
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.
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance ImagePickerMasterPlatform
The default instance of ImagePickerMasterPlatform to use.
getter/setter pair