flutter_particles 1.0.0+5 copy "flutter_particles: ^1.0.0+5" to clipboard
flutter_particles: ^1.0.0+5 copied to clipboard

outdated

A new Flutter package for creating particles background. This can be considered as the implementation of particle.js in Flutter.

Flutter Particles #

A Flutter widget for creating particles.

Demo

Intallation #

Add the dependencies needed to your pubspec.yaml file.

Usage #

Import the file

import 'package:flutter_particles/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

24
likes
0
pub points
71%
popularity

Publisher

unverified uploader

A new Flutter package for creating particles background. This can be considered as the implementation of particle.js in Flutter.

Repository (GitHub)
View/report issues

Dependencies

flutter

More

Packages that depend on flutter_particles