-
-
Save Rahiche/cd87a4d3840ae0c66822dbb094659601 to your computer and use it in GitHub Desktop.
This file contains 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
final offsetAnimation = TweenSequence([ | |
TweenSequenceItem( | |
tween: Tween<Offset>( | |
begin: Offset(0.0, 1.0), end: Offset(0.0, 0.0)), | |
weight: 1), | |
TweenSequenceItem( | |
tween: ConstantTween(Offset(0.0, 0.0)), weight: 3), | |
TweenSequenceItem( | |
tween: Tween<Offset>( | |
begin: Offset(0.0, 0.0), end: Offset(0.0, -1.0)), | |
weight: 1) | |
]).animate(animation); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment