GalleryTools class
Constructors
- GalleryTools()
-
factory
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
-
openSystemAlbum(
{GalleryOptions? options}) → Future< String?> - 打开相薄 仅支持ios
-
openSystemCamera(
{GalleryOptions? options}) → Future< String?> - 打开系统相机 返回文件路径 Android AndroidManifest.xml 添加以下内容
-
openSystemGallery(
{GalleryOptions? options}) → Future< String?> - 打开系统相册 返回文件路径 ios info.plist add ios path
-
saveFileToGallery(
String file) → Future< String?> -
Save the PNG,JPG,JPEG image or video located at
file
to the local device media gallery. -
saveImageToGallery(
Uint8List imageBytes, {int quality = 100, String? name}) → Future< String?> - save image to Gallery imageBytes can't null
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited