flutter_wallpaper_manager
Plugin de gerenciador de papel de parede Flutter, ajuda você a configurar o papel de parede em dispositivos Android. Suporta modo de papel de parede para tela inicial, tela de bloqueio e ambos os modos simultaneamente.
prasadkirpekar/flutterwallpapermanager open-source repository details.
Texto original em inglês. Visite o GitHub para a versão atual.
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.
Lista de dependências 2 itens
{"sdk":"flutter"}{"sdk":"flutter"}Filtre pelo caso de uso, compare a atividade e confira o projeto original antes de adotá-lo.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗