flutter_moving_background 0.3.0 copy "flutter_moving_background: ^0.3.0" to clipboard
flutter_moving_background: ^0.3.0 copied to clipboard

A Flutter Package to create beautiful and animated backgrounds,such as gradients ,circular forms and particles

0.3.0 - 2026-06-18 #

  • New Presets: Added pre-configured named constructors for MovingBackground (MovingBackground.sunset(), MovingBackground.aurora(), MovingBackground.cyberpunk()) and a builder-based theme-aware MovingBackground.themed(context) constructor.
  • New Background Patterns:
    • Added ConstellationBackground: A particle web system connecting nearby floating nodes with hover/touch interactive attraction.
    • Added WaveBackground: Soothing, layered flowing sine-waves with parallax speeds.
  • Significant Performance Optimizations:
    • Zero-allocation paint loops: Painters now cache and reuse Paint and Path objects across frame calls instead of allocating them 60+ times per second.
    • Shader Caching in Rain: Drastically reduced GPU/CPU jank in RainBackground by caching linear gradient shaders per-layer/color rather than compiling them per-drop on every frame.
  • API Cleanups:
    • Deprecated CustomRain in favor of a single consolidated RainBackground.
    • Added backgroundColor support for BubbleBackground and RainBackground.
    • Upgraded code to use non-deprecated Flutter APIs (Color.toARGB32(), Color.withValues()).

0.1.0 - 2026-01-30 #

  • Major Performance Overhaul: Refactored MovingBackground to use a single Ticker and CustomPainter. This significantly reduces CPU/GPU usage and provides much smoother animations.
  • New Animation Types: Added pulse, scale, and move animation types to MovingBackground.
  • New Components:
    • Added BubbleBackground: A high-performance bouncing bubbles effect.
    • Added RainBackground: A parallax rain effect.
  • Pause/Resume: Added isPaused property to all background components.
  • Improved API: MovingCircle is now a lightweight data class.
  • Better Randomness: Improved the way circles move to random positions for a more natural feel.
  • Bug Fixes: Fixed issues with animation stuttering and memory leaks.

0.0.5 - 2024-02-18 #

  • Improved mixed animation type, fade and Transition
  • Upgrade dart and Flutter SDKs

0.0.4 - 2024-02-18 #

  • Add mixed animation type, fade and Transition
  • Upgrade dart and Flutter SDKs

0.0.3 - 2024-01-22 #

  • Follow Dart lint rules
  • Refact description and documentation
  • add example gif

0.0.2 - 2024-01-22 #

  • Upgrade dart sdk
  • Improved readme
  • Improved Docs

0.0.1 - 2024-01-20 #

  • Add Circles Gradient Background.
34
likes
150
points
452
downloads

Documentation

API reference

Publisher

verified publisherildeberto.xyz

Weekly Downloads

A Flutter Package to create beautiful and animated backgrounds,such as gradients ,circular forms and particles

Homepage
Repository (GitHub)
View/report issues

Topics

#particles #background #gradient

License

MIT (license)

Dependencies

flutter, location

More

Packages that depend on flutter_moving_background