wallpapers_kit 0.2.1 copy "wallpapers_kit: ^0.2.1" to clipboard
wallpapers_kit: ^0.2.1 copied to clipboard

PlatformAndroid

A Flutter wallpaper gallery toolkit: grid, category strip, full-screen viewer, favorites, set-as-wallpaper and download — themed to auto-match your app's light/dark mode.

0.2.1 #

  • Reverted permission_handler back to ^12.0.3 (was ^13.0.0 as of 0.2.0). permission_handler 13.0.0/13.0.1 both hard-require permission_handler_android ^14.0.0, which needs compileSdk 37 — a platform that isn't reliably resolvable from Google's SDK repository yet (only 37.0/37.1/37.2-beta* sub-versions exist there, not a plain android-37), breaking the build for every consumer with no way to work around it via a normal dependency constraint (only dependency_overrides can bypass it, and those never propagate from a package to its consumers). permission_handler 12.0.3 depends on permission_handler_android ^13.0.0 instead, which only needs compileSdk 35 (already commonly installed) and resolves cleanly with zero consumer-side configuration. If you added a dependency_overrides: permission_handler_android: 13.0.1 workaround for 0.2.0, it's safe to remove after upgrading to this version.
  • Removed the now-unnecessary compileSdk = maxOf(flutter.compileSdkVersion, 37) requirement from the install instructions — plain flutter.compileSdkVersion (or any recent compileSdk) is enough again.
  • WallpaperGridView/WallpaperFavoritesView gained onPageChanged (forwarded to the WallpaperViewer they open — fires on every swipe to a different wallpaper) and scrollMilestoneWallpaperCount + onScrollMilestone (fires once per roughly N wallpapers scrolled past in the grid itself, in either direction). Both were previously only available on a directly-constructed WallpaperViewer; useful for a scroll- or swipe-based ad cadence (e.g. an interstitial every 30 wallpapers scrolled) without reimplementing the grid.

0.2.0 #

  • Raised permission_handler to ^13.0.0 and device_info_plus to ^13.2.0 (was ^12.0.3/^12.4.0) — the previous constraints excluded the current stable release of both, which pub.flutter-io.cn's dependency-freshness check flags. permission_handler 13.0.0 requires Android compileSdk 37; the example app now sets compileSdk = maxOf(flutter.compileSdkVersion, 37) to guarantee that floor.
  • Shortened the pubspec.yaml description to fit pub.flutter-io.cn's 180-character limit (was 221 characters, scoring 0/10 on "Provide a valid pubspec.yaml").
  • Trimmed the README to the essential install/usage steps.

0.1.0 #

  • Initial release.
  • Wallpaper model — bring your own list from anywhere (network, assets, backend).
  • WallpaperGridView, WallpaperCategoryStrip, WallpaperViewer, WallpaperFavoritesView — all themed via Theme.of(context), so they follow your app's light/dark ThemeMode automatically.
  • WallpaperActions — set wallpaper (home/lock/both) and download to gallery.
  • WallpaperFavoritesStore — pluggable favorites persistence, with a SharedPreferences-backed default.
  • onBeforeSetWallpaper / onBeforeDownload hooks so host apps can gate actions behind their own ads, dialogs, or paywalls — the package itself ships no ad dependency.
0
likes
150
points
135
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter wallpaper gallery toolkit: grid, category strip, full-screen viewer, favorites, set-as-wallpaper and download — themed to auto-match your app's light/dark mode.

Repository (GitHub)
View/report issues

Topics

#wallpaper #theming #gallery #image

License

MIT (license)

Dependencies

cached_network_image, device_info_plus, flutter, flutter_cache_manager, gal, permission_handler, shared_preferences, wallpaper_manager_plus

More

Packages that depend on wallpapers_kit