Skip to content

Instantly share code, notes, and snippets.

@fredgrott
Created October 18, 2025 13:17
Show Gist options
  • Save fredgrott/1e93dc5322be45253e21016cdf7c27e1 to your computer and use it in GitHub Desktop.
Save fredgrott/1e93dc5322be45253e21016cdf7c27e1 to your computer and use it in GitHub Desktop.
motor legacy md3 motion
impoart 'package:motor/motor.dart';
// Duration-based motion (traditional Flutter approach)
final linear = Motion.linear(Duration(seconds: 1));
final withCurve = Motion.curved(Duration(seconds: 1), Curves.easeInOut);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment