Skip to content

Instantly share code, notes, and snippets.

@fredgrott
Created October 18, 2025 13:57
Show Gist options
  • Save fredgrott/137d4dedf271708374075d905b2d7724 to your computer and use it in GitHub Desktop.
Save fredgrott/137d4dedf271708374075d905b2d7724 to your computer and use it in GitHub Desktop.
motor, custom material spring
import 'package:motor/motor.dart'
final customMaterial = MaterialSpringMotion(
damping: 0.8,
stiffness: 500,
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment