image_picker_platform_interface library
Classes
- CameraDelegatingImagePickerPlatform
- A base class for an ImagePickerPlatform implementation that does not directly support ImageSource.camera, but supports delegating to a provided ImagePickerCameraDelegate.
- CrossFileTestOverrides
- Overrides some functions of CrossFile for testing purposes
- ImageOptions
- Specifies image-specific options for picking.
- ImagePickerCameraDelegate
-
A delegate for
ImagePickerPlatform
implementations that do not provide a camera implementation, or that have a default but allow substituting an alternate implementation. - ImagePickerCameraDelegateOptions
- Options for ImagePickerCameraDelegate methods.
- ImagePickerOptions
- Specifies options for picking a single image from the device's camera or gallery.
- ImagePickerPlatform
- The interface that implementations of image_picker must implement.
- LostData
-
The response object of
ImagePicker.retrieveLostData
. - LostDataResponse
-
The response object of
ImagePicker.getLostData
. - MediaOptions
- Specifies options for selecting items when using ImagePickerPlatform.getMedia.
- MultiImagePickerOptions
- Specifies options for picking multiple images from the device's gallery.
- PickedFile
- A PickedFile is a cross-platform, simplified File abstraction.
- XFile
- A CrossFile is a cross-platform, simplified File abstraction.
Enums
- CameraDevice
-
Which camera to use when picking images/videos while source is
ImageSource.camera
. - ImageSource
- Specifies the source where the picked image should come from.
- MediaSelectionType
- The type of media to allow the user to select with ImagePickerPlatform.getMedia.
- RetrieveType
- The type of the retrieved data in a LostDataResponse.
Constants
- kTypeImage → const String
- Denotes that an image is being picked.
- kTypeMedia → const String
- Denotes that either a video or image is being picked.
- kTypeVideo → const String
- Denotes that a video is being picked.