particles_flutter 1.0.1 particles_flutter: ^1.0.1 copied to clipboard
A flutter package for particle animation. You can control the animation speed, number of Particles on the screen, dimension and shape of particle via connecting lines,etc.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add particles_flutter
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
particles_flutter: ^1.0.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:particles_flutter/component/particle/particle.dart';
import 'package:particles_flutter/core/runner.dart';
import 'package:particles_flutter/painters/circular_painter.dart';
import 'package:particles_flutter/particles_engine.dart';