Search packages, repositories and app categories

Package detailsv0.0.4

flutter_wallpaper_manager

Flutter wallpaper manager plugin, helps you setup wallpaper on android devices. Support home screen, lock screen and both screen wallpaper mode.

Android
30-day downloads
260
Likes
33
Pub points
140

Install package

flutter pub add flutter_wallpaper_manager

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

A Flutter plugin that enables setting wallpapers on Android devices, supporting home screen, lock screen, or both simultaneously. It provides a simple API to interact with Android's wallpaper manager, allowing users to apply images programmatically. Designed specifically for Android, it integrates seamlessly into apps requiring dynamic wallpaper changes. The plugin is lightweight and relies on native Android functionality for reliable performance.

Use cases

  • Setting custom wallpapers from within an app
  • Applying wallpapers to both home and lock screens
  • Enabling user-driven wallpaper customization
  • Automating wallpaper updates based on events
  • Creating wallpaper gallery or theme applications

Key features

  • Supports home screen wallpaper
  • Supports lock screen wallpaper
  • Allows setting both screens at once
  • Simple and intuitive API
  • Android-only platform support

Suitable for

  • Developers building wallpaper apps
  • Apps with dynamic theme features
  • User-facing customization tools
  • Android-focused mobile applications

Considerations

  • Limited to Android platforms
  • Requires appropriate permissions
  • May not work on all Android versions
  • Depends on device-specific wallpaper manager behavior
  • No iOS support

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

flutter_wallpaper_manager

A flutter plugin to set wallpaper on your android device. It support Home Screen, Lock Screen and Both Screen mode

How to use flutter wallpaper manager?

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.

Categories

Source repository

Projects using this package

No data available yet.