system/image_extra library
Classes
- StorageImage
- 表示存储图像的类
Extensions
- ImageExtra on FileImage
- 扩展FileImage类,添加存储图像的方法
Functions
-
imageFromId(
String storageId) → FileImage? - 根据Storage ID获取图像
-
imageFromIdAsync(
String storageId) → Future< FileImage?> - 根据Storage ID异步获取图像
-
imageToStorage(
String sourcePath) → String? - 将文件拷贝到Storage ID
-
imageToStorageAsync(
String sourcePath) → Future< String?> - 将文件异步拷贝到Storage ID