fzwallpaper 1.0.1
fzwallpaper: ^1.0.1 copied to clipboard
This is a flutter plugin which sets a image as a wallpaper in Android using the native functionality of android. It sets the wallpaper on HomeScreen, LockScreen, Home & Lock BothScreen also.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add fzwallpaperThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
fzwallpaper: ^1.0.1Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:fzwallpaper/fzwallpaper.dart';