camera_recorder library
Classes
- AdvancedCustomFilter
- The advanced custom filter.
- AndroidMediaColumns
- A class that contains the names of the columns used in the custom filter.
- AndroidPermission
- The permission for android.
- AssetEntity
-
The abstraction of assets (images/videos/audios).
It represents a series of fields
MediaStore
on Android and thePHAsset
object on iOS/macOS. - AssetEntityImage
- A widget that displays an AssetEntity image.
- AssetEntityImageProvider
- The ImageProvider that handles AssetEntity.
- AssetPathEntity
-
The abstraction of albums and folders.
It represent a bucket in the
MediaStore
on Android, and thePHAssetCollection
object on iOS/macOS. - CameraController
- Controls a device camera.
- CameraDescription
- Properties of a camera device.
- CameraImage
- A single complete image buffer from the platform camera.
- CameraPreview
- A widget showing a live camera preview.
- CameraValue
- The state of a CameraController.
- CameraView
- CameraViewController
- CirclePainter
- ColumnUtils
- Utility functions for working with the CustomColumns class.
- ColumnWhereCondition
- The where condition item.
- CustomColumns
- A class that contains the names of the columns used in the custom filter.
- CustomFilter
- Full custom filter.
- DarwinColumns
- A class that contains the names of the columns of the iOS/macOS platform.
- DateColumnWhereCondition
- The where condition item for date type.
- DateTimeCond
- A class that specifies the date and time constraints for queried assets.
- DurationConstraint
- A class that specifies the duration constraints for queried assets.
- EasyLoading
- EasyLoadingAnimation
- FilterOption
- A series of filter options for AssetType when querying assets.
- FilterOptionGroup
- A collection of filtering and sorting options for querying assets.
- FlutterEasyLoading
- ImageFormat
- Describes how pixels are represented in an image.
- LatLng
- Represents a geographical location as a latitude-longitude pair.
- NotifyManager
- The manager for receiving notifications when assets change.
-
Optional<
T> - A value that might be absent.
- OrderByItem
- The order by item.
- OrderOption
- A class that specifies the ordering criteria for queried assets.
- PermissionRequestOption
- See PermissionState.
- PhotoCachingManager
- The cache manager that helps to create/remove caches with specified assets.
- PhotoManager
- The core manager of this package, providing methods for accessing and managing assets.
- PhotoManagerPlugin
- The plugin class is the core class that call channel's methods.
- Plane
- A single color plane of image data.
- PMDarwinPathFilter
- {@template PM.darwin_path_filter}
- PMFilter
- The base class of all the filters.
- PMPathFilter
- For filter the AssetPathEntity.
- PMProgressHandler
- Manages the progress of asset downloads from cloud storage services, such as iCloud.
- 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
- A class that specifies the size constraints for queried images.
- SqlCustomFilter
- The sql custom filter.
- TextWhereCondition
- The where condition item for text.
- ThumbnailOption
- The options used when requesting thumbnails.
- ThumbnailSize
- The dimensions of the thumbnail data for an AssetEntity.
- WhereConditionGroup
- The group of WhereConditionItem and WhereConditionGroup.
- WhereConditionItem
- {@template PM.column_where_condition}
- WhereItem
- Where item class
- XFile
- A CrossFile is a cross-platform, simplified File abstraction.
Enums
- AssetType
- The type of the asset.
- BaseFilterType
- The type of the filter.
- CameraLensDirection
- The direction the camera is facing.
- CameraMode
- DeliveryMode
-
Enumeration for
PHImageRequestOptionsDeliveryMode
on iOS/macOS. - EasyLoadingAnimationStyle
- loading animation
- EasyLoadingIndicatorType
-
loading indicator type. see
https://github.com/jogboms/flutter_spinkit#-showcase
- EasyLoadingMaskType
- loading mask type none default mask type, allow user interactions while loading is displayed clear don't allow user interactions while loading is displayed black don't allow user interactions while loading is displayed custom while mask type is custom, maskColor should not be null
- EasyLoadingStatus
- loading status
- EasyLoadingStyle
- loading style
- EasyLoadingToastPosition
- toast position
- ExposureMode
- The possible exposure modes that can be set for a camera.
- FlashMode
- The possible flash modes that can be set for a camera
- FocusMode
- The possible focus modes that can be set for a camera.
- ImageFileType
- Common file types for images.
- ImageFormatGroup
- Group of image formats that are comparable across Android and iOS platforms.
- IosAccessLevel
- The app’s level of access to the user’s photo library.
- LogicalType
- The logical operator used in the CustomFilter.
- OrderOptionType
- An enumeration of possible options for sorting asset lists.
- PermissionState
- Information about app’s authorization to access the user’s photo library.
- PMDarwinAssetCollectionSubtype
- See document: https://developer.apple.com/documentation/photokit/phassetcollectionsubtype
- PMDarwinAssetCollectionType
- The type of PHAssetCollection.
- 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.
- ResolutionPreset
- Affect the quality of video recording and image capture:
- SpecialImageType
- An enumeration of special image types.
- ThumbnailFormat
- Which format the thumbnail should be, generally support JPG and PNG.
Extensions
- BaseFilterTypeExtension on BaseFilterType
- The extension of BaseFilterType.
- LogicalTypeExtension on LogicalType
- PermissionStateExt on PermissionState
- Provides extension methods for PermissionState values.
- PMDarwinAssetCollectionSubtypeExt on PMDarwinAssetCollectionSubtype
- PMDarwinAssetCollectionTypeExt on PMDarwinAssetCollectionType
Functions
-
availableCameras(
) → Future< List< CameraDescription> > - Completes with a list of available cameras.
Typedefs
- EasyLoadingStatusCallback = void Function(EasyLoadingStatus status)
- onLatestImageAvailable = void Function(CameraImage image)
- Signature for a callback receiving the a camera image.
- PermisstionRequestOption = PermissionRequestOption
Exceptions / Errors
- CameraException
- This is thrown when the plugin reports an error.