wallpaper_manager_flutter
1.0.1, released 2 years ago by an unverified publisher
Set Android home or lock screen wallpaper programmatically
What it does
This plugin lets you set a wallpaper on the Android home screen, lock screen, or both. It uses isolates to process large images without blocking the UI.
AI-written summary of version 1.0.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to change the wallpaper from your app
- You have high‑resolution images and want to avoid UI lag
- You want a simple API to set wallpapers on Android
Skip it when
- You target iOS or other platforms
- You need cross‑platform wallpaper support
Strengths
- Efficient image processing with isolates
- Comprehensive error handling
- Simple, declarative API
- Supports home, lock, or both screens
Weaknesses
- Android‑only
- Requires API level 24+
- No iOS support
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
Add dependency to pubspec, ensure Android minSdk 24, no build_runner needed
import 'dart:io';
import 'package:wallpaper_manager_flutter/wallpaper_manager_flutter.dart';
final manager = WallpaperManagerFlutter();
File image = File('path_to_image.jpg');
await manager.setWallpaper(image, WallpaperManagerFlutter.homeScreen);Alternatives
Packages that do the same job and could replace wallpaper_manager_flutter.
- async_wallpaper
Set static, live video, OpenGL wallpapers and schedule rotations asynchronously on Android and iOS.
81Compare - flutter_overlay_window
Flutter plugin to display your app over other apps on the screen.
85Compare - quick_actions
Flutter plugin for creating shortcuts on home screen, quick actions on iOS and app shortcuts on Android.
92Compare - app_widget
Manage Android home screen widgets from within Flutter.
55Compare
Works with
Packages commonly used together with wallpaper_manager_flutter: ones it builds on, ones built on it, and its own family.