wechat_camera_picker library

Classes

AndroidEditor
AssetEntity
Used to describe an asset.
AssetPathEntity
asset entity, for entity info.
CameraController
Controls a device camera.
CameraDescription
Properties of a camera device.
CameraImage
A single complete image buffer from the platform camera.
CameraPicker
Create a camera picker integrate with CameraDescription. 通过 CameraDescription 整合的拍照选择
CameraPickerState
CameraPickerTextDelegate
Author Alex (https://github.com/AlexV525) Date 2020/7/16 11:07
CameraPreview
A widget showing a live camera preview.
CameraValue
The state of a CameraController.
DateTimeCond
CreateDate
DefaultCameraPickerTextDelegate
Default text delegate implements with Chinese. 中文文字实现
DefaultCameraPickerTextDelegateWithOnlyRecording
Default text delegate including only recording implements with Chinese. 中文文字实现(仅摄像)
DefaultCameraPickerTextDelegateWithRecording
Default text delegate including recording implements with Chinese. 中文文字实现(包括摄像)
DefaultCameraPickerTextDelegateWithTapRecording
Default text delegate including tap recording implements with Chinese. 中文文字实现(仅轻触摄像)
DurationConstraint
Constraints of duration.
Editor
EnglishCameraPickerTextDelegate
Default text delegate implements with English. 英文文字实现
EnglishCameraPickerTextDelegateWithOnlyRecording
Default text delegate including only recording implements with English. 英文文字实现(仅摄像)
EnglishCameraPickerTextDelegateWithRecording
Default text delegate including recording implements with English. 英文文字实现(包括摄像)
EnglishCameraPickerTextDelegateWithTapRecording
Default text delegate including tap recording implements with English. 英文文字实现(仅轻触摄像)
FilterOption
Filter option 筛选选项的详细情况
FilterOptionGroup
Filter option for get asset.
ImageFormat
Describes how pixels are represented in an image.
IosEditor
For iOS
LatLng
Longitude and latitude
OrderOption
PermisstionRequestOption
PhotoCachingManager
Cached thumbnails for album management.
PhotoManager
use the class method to help user load asset list and asset info.
Plane
A single color plane of image data.
PMProgressHandler
Only works in iOS.
PMProgressState
Status of progress for PMProgressHandler.
RequestType
SizeConstraint
Constraints of asset pixel width and height.
ThumbOption
XFile
A CrossFile is a cross-platform, simplified File abstraction.

Enums

AssetType
asset type
CameraLensDirection
The direction the camera is facing.
DeliveryMode
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.
ImageFormatGroup
Group of image formats that are comparable across Android and iOS platforms.
IosAccessLevel
OrderOptionType
PermissionState
Android: The effective values are authorized or denied.
PMRequestState
Current asset loading status
ResizeContentMode
Resize content mode
ResizeMode
Resize strategy, useful when need exact image size. It's must be used only for iOS Apple resize mode documentation
ResolutionPreset
Affect the quality of video recording and image capture:
ThumbFormat
For generality, only support jpg and png.

Functions

availableCameras() Future<List<CameraDescription>>
Completes with a list of available cameras.

Typedefs

onLatestImageAvailable = dynamic Function(CameraImage image)
Signature for a callback receiving the a camera image.

Exceptions / Errors

CameraException
This is thrown when the plugin reports an error.