wallpaper 1.2.0 copy "wallpaper: ^1.2.0" to clipboard
wallpaper: ^1.2.0 copied to clipboard

PlatformAndroid

The Purpose of the plugin is to set wallpaper from url. Only supported to android. Internally using WallpaperManager to set wallpaper.

1.2.0 #

  • Modernized the Android implementation while preserving the existing Dart API.
  • Fixed Android wallpaper calls to capture request arguments per call, avoiding shared mutable state during concurrent operations.
  • Improved Android activity lifecycle handling for the system wallpaper picker.
  • Added Android API-level guards for lock screen and both-screen wallpaper operations.
  • Reduced large-image memory pressure with bounds decoding, bitmap sampling, and bitmap recycling.
  • Removed unnecessary legacy storage permissions from the Android manifest.
  • Updated README guidance for app-private storage and concurrent download filenames.
  • Added native argument-validation tests.
  • Added additive APIs for setting wallpapers from local files, Uint8List bytes, and Flutter assets.
  • Added a unified setWallpaperFromSource API with typed success/failure results and categorized wallpaper exceptions.
  • Added typed, cancellable downloads with headers, timeouts, cache reuse, and plugin-managed temporary cache cleanup.
  • Added Wallpaper.recommendedWallpaperSize() for reading platform-recommended wallpaper dimensions.
  • Added Wallpaper.openWallpaperChooser() for launching Android's system wallpaper chooser.
  • Added opt-in WallpaperFit modes for source-based wallpaper APIs without changing legacy RequestSizeOptions behavior.
  • Added WallpaperAlignment for opt-in crop/placement control with modern source API fit modes.
52
likes
160
points
343
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

The Purpose of the plugin is to set wallpaper from url. Only supported to android. Internally using WallpaperManager to set wallpaper.

Repository (GitHub)
View/report issues

License

Apache-2.0 (license)

Dependencies

dio, flutter, flutter_web_plugins, path_provider, plugin_platform_interface, web

More

Packages that depend on wallpaper

Packages that implement wallpaper