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
getWallpapermethod to retrieve device wallpaper.
Future<Uint8List?> getWallpaper(WallpaperLocation wallpaperLocation)
Refactored APIs #
- Updated
setWallpaperFromFilemethod to accept optional crop bounds.
Future<bool> setWallpaperFromFile(String filePath, WallpaperLocation wallpaperLocation, {Rect? cropBounds})
- Updated
setWallpaperFromAssetmethod to accept optional crop bounds.
Future<bool> setWallpaperFromAsset(String filePath, WallpaperLocation wallpaperLocation, {Rect? cropBounds})
Deprecated APIs #
- Removed
setWallpaperFromFileWithCrop. NowsetWallpaperFromFileis used. - Removed
setWallpaperFromAssetWithCrop. NowsetWallpaperFromAssetis used.
0.0.1 #
- Initial release