Created
October 18, 2025 13:27
-
-
Save fredgrott/872abca1bd05cccac4ff975731f296c2 to your computer and use it in GitHub Desktop.
motor, how to get M3E spring motion
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:motor/motor.dart'; | |
// Physics-based motion (natural, responsive) | |
final spring = CupertinoMotion.bouncy(); // Or `Motion.bouncySpring()` | |
final material = MaterialSpringMotion.standardSpatialDefault(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment