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

The Particular is a high performance particle effects flutter widget.

Particular Logo

Particular: Flutter Particle System #

Enhance your app or game visuals with this high-performance Flutter particle system widget. Utilize JSON or programmatic configuration, seamlessly integrating with popular particle editors for effortless customization.

- Samples: #

Meteor Galaxy Snow Firework

- Installation #

To integrate the particular package into your project, follow these steps:

Add particular to your pubspec.yaml file:

dependencies:
  particular: ^latest_version

Install the package by running:

flutter pub get

For detailed installation instructions, refer to the installation guide on pub.dev.


- Configurate your particle! #

You have two options for configuring your particles:

  1. Using Particle Editors:
    Generate particle configurations using popular particle editors such as Particle 2dx Editor or Particle Designer. (We're working on dedicated editor as soon as possible!)
  2. Programmatic Configuration:
    Manually configure your particle controller in code. Refer to the following steps for more details.

- Getting Started with Coding #

Follow these steps to integrate the particle system into your Flutter app:

I. Initialize the Particle Controller in initState:

final controller = ParticularController();

...

@override
void initState() {

  controller.initialize(
    texture: frameInfo.image,
    configs: configsMap, // Remove in programmatic configuration case
  );

  super.initState();
}

II. Add the Particular Widget in Your Widget Three:

Particular(
    width: 600,
    height: 600,
    color: Colors.black,
    controller: controller,
)

III. Live Update Particle System:

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

This revised README provides clear installation instructions, options for configuring particles, and steps for integrating and customizing the particle system in your Flutter app. If you have any questions or need further assistance, don't hesitate to ask!

37
likes
0
points
84
downloads

Publisher

unverified uploader

Weekly Downloads

The Particular is a high performance particle effects flutter widget.

Repository (GitHub)
View/report issues

Topics

#particle #particles #visualization #game #effects

Documentation

Documentation

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on particular