particular 0.0.1 copy "particular: ^0.0.1" to clipboard
particular: ^0.0.1 copied to clipboard

The Particular is a high performance particle effects flutter widget.

Particular Logo

Overview #

The Particular is a high performance particle effects flutter widget that can configure bot with config.json and programatically.

Samples: #

Meteor Galaxy Snow Firework

Let's get started #

First of all, you need to add the particular in your project. In order to do that, follow this guide.

Easy to use: just write a simple onTick handler to manage a list of particles. Architected to be highly extensible. Utilizes CustomPainter and drawAtlas to offer exceptional performance.

// Add controller to change particle 
final _particleController = ParticularController();
...

_particleController.initialize(
    texture: frameInfo.image,
    configs: configsMap,
);

// Add Particular widget in your widget three
Particular(
    width: 600,
    height: 600,
    color: Colors.black,
    controller: _particleController,
)

Also you can update your particle with update controller.

_particleController.update(
    maxParticles: 100,
    duration:1.5,
    lifespan:1.2,
    angle:30,
    speed:100,
);

Then you need to read the docs. Start from here.

28
likes
0
pub points
58%
popularity

Publisher

unverified uploader

The Particular is a high performance particle effects flutter widget.

Repository (GitHub)
View/report issues

Topics

#particle #particlesystem #visualization #game #effect

Documentation

Documentation

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on particular