Flutter Particles

A Flutter widget for creating particles.

Intallation

Add the dependencies needed to your pubspec.yaml file.

Usage

Import the file

import 'package:particle/particles.dart';

Calling the widget

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return new Scaffold(
      backgroundColor: Colors.orange[50],
      body: new Particles(
        30, // Number of Particles
        Colors.blue, // Color of Particles
      ),
    );
  }
}

Demo

Demo Demo

Libraries

draw_particles
main
particle
particles