flutter_physics 0.2.0 copy "flutter_physics: ^0.2.0" to clipboard
flutter_physics: ^0.2.0 copied to clipboard

A Flutter package providing physics-based animations including customizable spring and gravity simulations that can be used both as physics simulations and animation curves.

0.2.0 #

  • BREAKING: Updated all predefined springs to be compatible with Flutter 3.32+ breaking changes to SpringDescription.
  • BREAKING: Bump min Flutter version to 3.32.0 due to underdamped spring physics corrections.
  • Fix: All predefined springs (swift, snap, playful, stern, float, buoyant, fling, slow, bob, boingoingoing) now use correct physics parameters to restore intended behavior after Flutter 3.32 migration.
  • Migration Guide: If you use custom SpringDescription objects with mass ≠ 1 and damping ratio < 1, migrate them using the Flutter migration guide.
  • New: Added ATranslate widget for implicit physics-based translation animations.

0.1.0 #

  • Added animateBackWith to PhysicsController for compatibility with new AnimationController API in Flutter 3.29 (master).
  • BREAKING: Bump min Flutter version to 3.27.0.

0.0.6+1 #

  • Update CHANGELOG.md

0.0.6 #

  • Use Color.fromARGB instead of Color.from to accommodate Flutter versions before 3.27.0.

0.0.5 #

  • PhysicsController now implements the AnimationController interface, so it can (really) be used as a drop-in replacement for AnimationController.
  • New methods added to PhysicsController: toggle, animateTo.

0.0.4 #

  • Bug fix for PhysicsControllerMulti and PhysicsBuilderMulti.

0.0.3 #

  • Bug fix for ASizedBox to normalize size.

0.0.2+1 #

  • Update README.md

0.0.2 #

  • Added comprehensive documentation and examples
  • New PhysicsController variants (2D and Multi)
  • New PhysicsAnimatedWidgetBaseState for ImplicitlyPhysicsAnimatedWidget, plus support for PhysicsAnimatedProperty (non-Tween-animated)
  • New ASize, ASwitcher, and AValue widgets
  • New PhysicsBuilder widgets (1D, 2D, Multi)
  • Bug fixes and performance improvements

0.0.1 #

  • Initial release.
49
likes
160
points
567
downloads

Publisher

verified publishersangdoan.com

Weekly Downloads

A Flutter package providing physics-based animations including customizable spring and gravity simulations that can be used both as physics simulations and animation curves.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_physics