bg

Last updated:

0 purchases

bg Image
bg Images
Add to Cart

Description:

bg

bg - A plugin for changing your wallpaper #

Platform Support #



MacOS




✔️



Getting Started #
You can create your custom widget and call change wallpaper.
// import bg
import 'package:bg/bg.dart';

// on change
await Bg().changeWallpaper(
url: [your-url],
scale: style, // [WallpaperScale]
color: color.hex, // defaults to #ffffff
);
copied to clipboard
You can also use showWallpaperOptions which shows a BottomSheetModal.
await Bg().showWallpaperOptions(
url: imageUrl,
// BuildContext from parent widget
context: context,
);

copied to clipboard
Bottom Sheet Modal Example #

http://g.recordit.co/A6q4cmhHbJ.gif


Custom Example #

Docs #


Learn more about plugins: Learn more at plug-in package.


See this vid for a vid demo [Spanish]: https://youtu.be/i15yUD-ktFQ


Notes #

This package only supports MACOS. There are known limitations in other platforms like IOS https://stackoverflow.com/a/6243685/2161256
We don't support tile scale, because not all the images play nicely with this setting, and MacOS itself doesn't always show the option

PRs are welcome.

License:

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

Files In This Product:

Customer Reviews

There are no reviews.