particle_reform 0.1.0 copy "particle_reform: ^0.1.0" to clipboard
particle_reform: ^0.1.0 copied to clipboard

A Flutter package that breaks down any widget into pixel particles and animates them with customizable effects. Watch your widgets scatter, spin, and reform with beautiful particle animations.

A Flutter package that breaks down any widget into pixel particles and animates them with customizable effects. Watch your widgets scatter, spin, and reform with beautiful particle animations.

https://github.com/user-attachments/assets/c65ae00e-3161-4117-a785-09e6adf86be0

Usage #

Wrap any widget with ParticleReform and control the animation with the isFormed parameter:

import 'package:particle_reform/particle_reform.dart';
import 'package:particle_reform/effects/scatter.dart';

ParticleReform(
  isFormed: isFormed,
  effect: Scatter(),
  duration: Duration(seconds: 1),
  child: Text('Your Widget Here'),
)

Toggle isFormed to trigger the particle animation:

  • isFormed: true - Particles reform into the original widget
  • isFormed: false - Widget breaks into particles and scatters

See the /example folder for more comprehensive examples with different effects.

Additional information #

For more examples and information, check the /example folder in the repository.

1
likes
150
points
176
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package that breaks down any widget into pixel particles and animates them with customizable effects. Watch your widgets scatter, spin, and reform with beautiful particle animations.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on particle_reform