motor 1.1.0
motor: ^1.1.0 copied to clipboard
A unified motion system for Flutter - physics-based springs and duration-based curves under one API.
1.1.0 #
-
FEAT: added
MotionPadding, motors equivalent toAnimatedPaddingthat can handle negative values. -
FEAT: allow swapping
MotionConverteronMotionControllerandMotionBuildertypes.This enables animating supertypes (such as
EdgeInsetsGeometry, as long as you make sure to always set the converter to match the right subtype. -
DOCS: correct
PhaseMotionControllertoSequenceMotionController.
1.0.1 #
- FIX: velocity scaling when overdragging with resistance.
- DOCS: updated README.
1.0.0 #
- Graduate package to a stable release. See pre-releases prior to this version for changelog entries.
1.0.0-dev.10 #
Note: This release has breaking changes.
- FIX: accept any motion in
SingleMotionController. - FIX: Motion changes in sequences are now picked up correctly.
- BREAKING REFACTOR: rename
TrimmedMotionparameters andMotionTrimmingextension methods to be more intuitive. - BREAKING FEAT: on phase changed callback now returns the full transition.
1.0.0-dev.9 #
- FIX: import internal from package:meta again.
1.0.0-dev.8 #
Note: This release has breaking changes.
- FIX: all motion controllers now correctly report their status, even for imprecise simulations.
- BREAKING REFACTOR:
Motion.nonewill not jump to target anymore, but hold at current value instead. - BREAKING FEAT: all spring motions now default to
snapToEnd: falseto reduce unexpected jitter when animating.
1.0.0-dev.7 #
Note: This release has breaking changes.
-
BREAKING FIX:
SequenceMotionControllerwill not skip the initial phase (#164).However, all sequences with a single provided motion will now return
NoMotionfor the very initial phase only. This retains the expected playing behavior, while working better with customized motions per phase.
1.0.0-dev.6 #
Note: This release has breaking changes.
- FEAT: add constants for included MotionConverters.
- FEAT: add sequence animations to motor.
- FEAT: add TrimmedMotion as a way to take subsets of any motion.
- DOCS: add phase animation to readme.
- DOCS: way better examples.
- BREAKING REFACTOR: use
MotionConverter.custom()if you want to pass custom normalization callbacks. - BREAKING REFACTOR: use const constructors for material springs and make default constructor private.
- BREAKING REFACTOR: use positional parameters for
CurvedMotion. - BREAKING BUILD: require Flutter 3.32.
1.0.0-dev.5 #
- Nothing relevant
1.0.0-dev.4 #
- FIX: use the correct parameters for
MaterialSpringMotion(#127).
1.0.0-dev.3 #
- DOCS: add title gif to README.
- DOCS: add title slide to example.
1.0.0-dev.2 #
Note: This release has breaking changes.
- FEAT: add Material 3 Expressive spring tokens.
- BREAKING REFACTOR: turned
CupertinoMotionconstants into constructors so parameters can be adjusted on the fly.
1.0.0-dev.1 #
Small updates
1.0.0-dev.0 #
Initial release 🥂