wallpaper
1.2.0, released 2 months ago by an unverified publisher
Set Android wallpaper from a URL, file, bytes or asset.
What it does
Downloads an image (optionally with progress) and uses Android WallpaperManager to apply it as home, lock, both, or system wallpaper. Provides APIs to query recommended size and open the system chooser.
AI-written summary of version 1.2.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to change the device's wallpaper on Android
- You want to download images with progress and apply them as wallpapers
Skip it when
- You target iOS or other platforms
- You need cross‑platform wallpaper support
Strengths
- Handles download, caching and progress streams
- Supports multiple targets (home, lock, both, system)
- Provides typed, cancellable download API
- No extra storage permissions required
Weaknesses
- Android‑only; no iOS support
- Relies on native WallpaperManager which may behave differently across manufacturers
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 4
Add the plugin to pubspec and run flutter pub get; Android permissions (INTERNET, SET_WALLPAPER) are declared automatically.
import 'package:wallpaper/wallpaper.dart';
await Wallpaper.download('https://example.com/img.jpg').completed;
await Wallpaper.homeScreen(location: DownloadLocation.applicationDirectory);Alternatives
Packages that do the same job and could replace wallpaper.
- async_wallpaper
Set static, live video, OpenGL wallpapers and schedule rotations asynchronously on Android and iOS.
81Compare - proximity_sensor
Flutter plugin to read proximity sensor events on Android and iOS
70Compare - wallpaper_manager_flutter
Set Android home or lock screen wallpaper programmatically
41Compare
Works with
Packages commonly used together with wallpaper: ones it builds on, ones built on it, and its own family.
- webwallpaper depends on itLightweight bindings for browser APIs via JS interop
- plugin_platform_interfacewallpaper depends on itReusable base class for platform interfaces of Flutter federated plugins.
- path_providerwallpaper depends on itProvides Flutter APIs to locate common filesystem directories on Android, iOS, macOS, Linux and Windows.
- diowallpaper depends on itA powerful HTTP networking package for Dart and Flutter with interceptors and request cancellation.