Skip to content

0.0.2

Choose a tag to compare

@sahkari sahkari released this 13 May 16:24
· 4 commits to main since this release

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.