photo_manager library Null safety

The main library that contains all functions integrating with photo library.

To use, import package:photo_manager/photo_manager.dart.

Classes

AssetEntity
The abstraction of assets (images/videos/audios). It represents a series of fields MediaStore on Android and the PHAsset object on iOS/macOS.
AssetEntityImage
AssetEntityImageProvider
AssetPathEntity
The abstraction of albums and folders. It represent a bucket in the MediaStore on Android, and the PHAssetCollection object on iOS/macOS.
DateTimeCond
DurationConstraint
Constraints of duration.
FilterOption
A series of filter options for AssetType when querying assets.
FilterOptionGroup
The group class to obtain FilterOptions.
LatLng
Longitude and latitude.
NotifyManager
The notify manager when assets changed.
OrderOption
PermissionRequestOption
See PermissionState.
PhotoCachingManager
The cache manager that helps to create/remove caches with specified assets.
PhotoManager
The core manager of this plugin. Use various methods in this class to access & manage assets.
PhotoManagerPlugin
The plugin class is the core class that call channel's methods.
PMProgressHandler
Handling assets loading progress when they need to download from cloud. Typically for iCloud assets downloading.
PMProgressState
A state class that contains progress of the current downloading and state to indicate the request state of the asset.
RequestType
The request type when requesting paths.
SizeConstraint
Constraints of asset pixel width and height.
ThumbnailOption
The thumbnail option when requesting assets.
ThumbnailSize

Extensions

PermissionStateExt

Enums

AssetType
The type of the asset.
DeliveryMode
Enumeration for PHImageRequestOptionsDeliveryMode on iOS/macOS.
ImageFileType
Common file types for images.
IosAccessLevel
The app’s level of access to the user’s photo library.
OrderOptionType
PermissionState
Information about app’s authorization to access the user’s photo library.
PMRequestState
Indicate the current state when an asset is loading with PMProgressHandler.
ResizeContentMode
Fitting an image’s aspect ratio to a requested size on iOS/macOS.
ResizeMode
Specifies how to resize the requested image on iOS/macOS.
SpecialImageType
Some special image types.
ThumbnailFormat
Which format the thumbnail should be, generally support JPG and PNG.

Typedefs

PermisstionRequestOption = PermissionRequestOption
@Deprecated('Use PermissionRequestOption instead')