atmospheric_particles 0.3.3
atmospheric_particles: ^0.3.3 copied to clipboard
A lightweight and customizable Flutter package for creating beautiful particle animations and atmospheric effects in the background of any widget.
0.3.3 #
Fixed
- A bug where the fade effect was not correctly applied to particle trails.
- A bug where the fade effect would jump when particles wrapped around the screen. The fade is now calculated per-segment for a smooth effect.
0.3.2 #
Changed
- Refactor: Replaced
AlignmentGeometrywithAlignmentfor thechildAlignmentproperty to simplify the API and align with Flutter's best practices.
0.3.1 #
Changed
- Refactored
AtmosphericParticlesto use default values for constructor parameters, improving maintainability. - Added input validation assertions to
AtmosphericParticlesto prevent invalid parameter combinations.
0.3.0 #
Added
- Added
minParticleRadiusandmaxParticleRadiusproperties toAtmosphericParticlesto allow for particle size variation.
Changed
- Breaking Change: Replaced
particleRadiuswithminParticleRadiusandmaxParticleRadiusinAtmosphericParticles.
0.2.4 #
Added
- Added
particleShapeproperty toAtmosphericParticlesto allow customization of particle shapes (circle, square, triangle, oval, rrect).
0.2.3 #
Added
- Added
trailLengthproperty toAtmosphericParticlesto enable and control the length of particle trails.
0.2.2 #
Added
- Added
particlesInFrontproperty toAtmosphericParticlesto control whether particles are rendered in front of or behind the child widget.
0.2.1 #
Fixed
- Particle isolate test hanging due to improper shutdown handling.
- Isolate resource leak by implementing graceful disposal in
ParticleCanvasusingonExitport.
Changed
- Refactored core particle files into
lib/srcdirectory for better project structure.
0.2.0 #
Added
- Implemented isolate-based animation for improved performance.
- Added a basic test suite for the
AtmosphericParticleswidget.
Changed
- Refactored the
ParticleCanvasto use a long-lived isolate for the animation logic.
0.1.0 #
Added
- Introduced the
FadeDirectionenum (top,bottom,left,right,none) to control the direction of the particle opacity gradient.
Changed
- Breaking Change: Replaced the
enableVerticalFadeboolean property with thefadeDirectionproperty to allow for more flexible fade effects.
0.0.3 #
Added
- Added the
repositoryfield topubspec.yamlto link directly to the GitHub source code. - Integrated a direct GitHub link and documentation link into the
README.mdfile.
Changed
- Significantly extended the package
descriptioninpubspec.yamlto better explain the package's purpose.
0.0.2 #
- Added an
example/folder containing a working demonstration.
0.0.1 #
- Initial Release!
- Added
AtmosphericParticleswidget to easily add a particle effect background to any widget. - Added
ParticleCanvasfor managing particle state and animation loop. - Added
ParticlePainterfor custom painting particles onto the canvas. - Added customization for:
particleColorparticleCountparticleRadiusminHorizontalVelocity/maxHorizontalVelocityminVerticalVelocity/maxVerticalVelocity
- Added
enableVerticalFadeoption for a vertical "fade-in" opacity gradient.