CameraAlbum class
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
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
openAlbum({CameraAlbumConfig? config, Widget? leading, required BuildContext context, dynamic callback(CameraAlbumBack back)?, void onChanged(List identifier, List duration, List widths, List heights)?, VoidCallback? onLimitCallback, bool androidView = false, dynamic callCamera()?})
→ Future
-
open album
-
requestImageFile({dynamic identifier})
→ Future
-
-
requestImagePreview({dynamic identifier})
→ Future
-
-
requestLastImage(String type)
→ Future
-
-
requestVideoFile({dynamic identifier})
→ Future
-
-
setFlashMode(CaptureDeviceFlashMode mode)
→ Future
-
-
startCamera()
→ Future
-
-
startRecord()
→ void
-
-
stopRecord({VoidCallback? onRecordStart, void onRecodeDone(String path)?})
→ void
-
-
switchCamera()
→ Future
-
-
takePhoto({VoidCallback? takeStart, void completion(String path)?})
→ void
-