AssetEntityExtension extension

扩展 AssetEntity

on

Methods

compress({int minWidth = 1920, int minHeight = 1080, int quality = 85}) Future<File?>

Available on AssetEntity, provided by the AssetEntityExtension extension

压缩文件
saveToAlbum() Future<AssetEntity?>

Available on AssetEntity, provided by the AssetEntityExtension extension

保存到相册
toBase64() Future<String>

Available on AssetEntity, provided by the AssetEntityExtension extension

转为base64