flutter_wallpaper_manager
Flutter wallpaper manager plugin, helps you setup wallpaper on android devices. Support home screen, lock screen and both screen wallpaper mode.
prasadkirpekar/flutterwallpapermanager open-source repository details.
English project snapshot. Visit GitHub for the latest content.
A flutter plugin to set wallpaper on your android device. It support Home Screen, Lock Screen and Both Screen mode
Simply install latest version of flutter_wallpaper_manager and use the following code to set the wallpaper
int location = WallpaperManager.BOTH_SCREEN; //can be Home/Lock Screen
bool result = await WallpaperManager.setWallpaperFromFile(path, location); //provide image path
You can clear the wallpaper by using clear() of WallpaperManager class
bool result = await WallpaperManager.clear(); //returns true/false
More features are coming to this plugin. Meanwhile you can support the development by donating tiny amount. It will be really appreciated.
Dependency list 2 items
{"sdk":"flutter"}{"sdk":"flutter"}Start with your use case, compare repository activity, and check the original project before adopting it.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗