Skip to content

Instantly share code, notes, and snippets.

@felixblaschke
Last active May 2, 2020 12:48
Show Gist options
  • Save felixblaschke/e66db6733b89c2a56ce73f491f2c75fe to your computer and use it in GitHub Desktop.
Save felixblaschke/e66db6733b89c2a56ce73f491f2c75fe to your computer and use it in GitHub Desktop.
mt1.dart
final _tween = MultiTween<AniProps>()
..add(AniProps.width, 0.0.tweenTo(100.0), 1000.milliseconds)
..add(AniProps.width, 100.0.tweenTo(200.0), 500.milliseconds)
..add(AniProps.height, 0.0.tweenTo(200.0), 2500.milliseconds)
..add(AniProps.color, Colors.red.tweenTo(Colors.blue), 3.seconds);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment