wallpaper_handler 0.0.2 wallpaper_handler: ^0.0.2 copied to clipboard
Flutter package for easy wallpaper customization on Android devices – change Home Screen, Lock Screen, or both with simplicity.
0.0.2 #
Added APIs #
- Introduced
getWallpaper
method to retrieve device wallpaper.
Future<Uint8List?> getWallpaper(WallpaperLocation wallpaperLocation)
Refactored APIs #
- Updated
setWallpaperFromFile
method to accept optional crop bounds.
Future<bool> setWallpaperFromFile(String filePath, WallpaperLocation wallpaperLocation, {Rect? cropBounds})
- Updated
setWallpaperFromAsset
method to accept optional crop bounds.
Future<bool> setWallpaperFromAsset(String filePath, WallpaperLocation wallpaperLocation, {Rect? cropBounds})
Deprecated APIs #
- Removed
setWallpaperFromFileWithCrop
. NowsetWallpaperFromFile
is used. - Removed
setWallpaperFromAssetWithCrop
. NowsetWallpaperFromAsset
is used.
0.0.1 #
- Initial release