access_wallpaper

Creator: coderz1093

Last updated:

0 purchases

TODO
Add to Cart

Description:

access wallpaper

AccessWallpaper Flutter Plugin - README #
The AccessWallpaper Flutter plugin is a plugin that provides functionality to get device wallpaper. This plugin currently only supports Android devices.
Installation #
To use this plugin, add access_wallpaper as a dependency in your pubspec.yaml file.
Permissions #
To use this plugin, you need to add the following permission to your app's AndroidManifest.xml file:
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" />
copied to clipboard
You also need to request the permission at runtime before using the plugin. You can use a package like permission_handler to request the permission.
Usage #
To use this plugin, you need to create an instance of the AccessWallpaper class, and call the getWallpaper method with lock or home flag. This method returns a Uint8List containing the desired phone wallpaper.
import 'package:access_wallpaper/access_wallpaper.dart';

final AccessWallpaper accessWallpaper = AccessWallpaper();

Uint8List? wallpaperBytes = await accessWallpaper.getWallpaper(AccessWallpaper.homeScreenFlag);
copied to clipboard
You can then use the wallpaperBytes in your app
Issues #
Please report any issues or bugs you encounter using the issue tracker on Github.
Contributing #
Contributions are welcome! Please feel free to fork the repository and submit a pull request with your changes.
Author #
accessWallpaper plugin is developed by Sameh Gbibia. You can contact me at gbuibiasameh@gmail.com.
License #
accessWallpaper plugin is released under the Apache License 2.0. See the LICENSE file for details.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files:

Customer Reviews

There are no reviews.