live_background 0.0.2 copy "live_background: ^0.0.2" to clipboard
live_background: ^0.0.2 copied to clipboard

Provide nice moving particle bokeh effect wall paper on your background.

Welcome to Live Background 👋 #

Version License: MIT Provide nice moving wall paper on your background.

Install #

Add nav dependency on your pubspec.yaml file

live_background: ^{latest version}

Usage #

  1. Add LiveBackgroundWidget() where you want
import 'package:live_background/live_background.dart';

Stack(children: [LiveBackgroundWidget(), AnyWidget()])
  1. You can use initial values to change the effect
//for example
LiveBackgroundWidget(
   palette: Palette(colors: [Colors.red, Colors.green]),
   velocityX: 2.5,
   velocityY: 0,
   particleMinSize: 10,
   particleMaxSize: 30,
   particleCount: 250,
)
  1. You can change values dynamically using LiveBackgroundController.
 final liveBackgroundController = LiveBackgroundController();

LiveBackgroundWidget(
  controller: liveBackgroundController,
  palette: _palette,
)

liveBackgroundController.setParticleCount(400);
liveBackgroundController.setVelocity(2.0, 10.5);
liveBackgroundController.setParticleSize(10, 30);
liveBackgroundController.setPalette(Palette(colors: [Colors.yellow, Colors.white]))

Author #

👤 Bansook Nam

🤝 Contributing #

Contributions, issues and feature requests are welcome!

Feel free to check issues page. You can also take a look at the [contributing guide](Contributions, issues and feature requests are welcome.).

Show your support #

Give a ⭐️ if this project helped you!

📝 License #

Copyright © 2020 Bansook Nam.

This project is MIT licensed.


This README was generated with ❤️ by readme-md-generator

31
likes
0
pub points
73%
popularity

Publisher

verified publisherbansook.xyz

Provide nice moving particle bokeh effect wall paper on your background.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on live_background