Skip to content

Releases: sahkari/wallpaper_handler

0.0.2

13 May 16:24
Compare
Choose a tag to compare

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. Now setWallpaperFromFile is used.
  • Removed setWallpaperFromAssetWithCrop. Now setWallpaperFromAsset is used.

0.0.1

31 Mar 13:45
Compare
Choose a tag to compare

Initial release