Flutter Particles #
A package that provides an easy way to add particles animation in Flutter project.
Getting Started #
You should ensure that you add the following dependency in your Flutter project.
dependencies: particles_flutter: "^0.1.1"
You should then run
flutter packages upgrade or update your packages in IntelliJ.
How to use #
CircularParticle( key: UniqueKey(), awayRadius: 80, numberOfParticles: 200, speedOfParticles: 1, height: screenHeight, width: screenWidth, onTapAnimation: true, particleColor: Colors.white.withAlpha(150), awayAnimationDuration: Duration(milliseconds: 600), maxParticleSize: 8, isRandSize: true, isRandomColor: true, randColorList: [ Colors.red.withAlpha(210), Colors.white.withAlpha(210), Colors.yellow.withAlpha(210), Colors.green.withAlpha(210) ], awayAnimationCurve: Curves.easeInOutBack, enableHover: true, hoverColor: Colors.white, hoverRadius: 90, connectDots: false, //not recommended ),
Feel free to contribute to this project.
If you want to contact me, Please send me a short DM on Twitter.
[0.1.0] - 23/06/2019.
- Initial release.
[0.1.1] - 24/06/2019.
- Bug fixing.
[0.1.2] - 24/06/2019.
- Updated Description.
A new Flutter project.
Getting Started #
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
Use this package as a library
1. Depend on it
Add this to your package's pubspec.yaml file:
dependencies: particles_flutter: ^0.1.2
2. Install it
You can install packages from the command line:
$ flutter pub get
Alternatively, your editor might support
flutter pub get.
Check the docs for your editor to learn more.
3. Import it
Now in your Dart code, you can use:
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
We analyzed this package on Feb 25, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
- Dart: 2.7.1
- pana: 0.13.5
- Flutter: 1.12.13+hotfix.7