asset_picker library

Functions

cleanAssetPickCache() Future
getAssetPickCacheSize() Future<double>
getCachePath() FutureOr<String>
获取图片缓存路径
getFileBytes(String url) Future<Uint8List?>
判断是否有对应图片缓存文件存在
getFileNameMd5(String url) Future<String>
getUrlMd5(String url) String
disk cache 获取url字符串的MD5值
showAssetPickNavigationDialog<T>({required BuildContext context, int maxNumber = 8, bool isCupertinoType = false, bool scrollReverse = true, bool dropDownBannerMode = true, AssetPickerType type = AssetPickerType.picture, AssetPickedCallback? photoDidSelectCallBack}) Future

Typedefs

AssetPickedCallback = void Function(List<Asset>)