flutter_wallpaper_manager
Flutter 월페이퍼 매니저 플러그인은 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 ↗