v0.0.4
flutter_wallpaper_manager
Flutter 壁紙管理外掛程式,協助您在 Android 裝置上設定壁紙。支援主螢幕、鎖定螢幕以及同時設定主螢幕與鎖定螢幕的壁紙模式。
33喜歡 260近 30 天下載140Pub 分數
Android
prasadkirpekar/flutterwallpapermanager open-source repository details.
以下為英文專案原文快照,最新內容請造訪 GitHub。
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.
依賴清單 2 項
{"sdk":"flutter"}{"sdk":"flutter"}先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗