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

The Particular is a high performance particle effects flutter widget.

Particular Logo

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.

  • Customizable (live) Particle Effects.
  • Ready Presets (JSON Configs).
  • Seamless Integration with Editors.
  • Optimized Performance with 1~10k particle at frame

    Whether you're a designer or developer, Particular empowers you to bring your creative visions with ease.


    - Some Presets: #

    Meteor Galaxy Snow Meteor


    - Installation #

    Add Particular to your pubspec.yaml file:
    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 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(controller: controller)
    

    III. Live Update Particle System:

    controller.update(
        maxParticles: 100,
        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!

  • 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 #particles #visualization #game #effects

    Documentation

    Documentation

    License

    unknown (license)

    Dependencies

    flutter, plugin_platform_interface

    More

    Packages that depend on particular