Created
November 9, 2020 23:50
-
-
Save AlabasterAxe/f89b9b3032a77af3e38e7978223818d4 to your computer and use it in GitHub Desktop.
initializing the worldController for Flutter implementation of Google Chrome dinosaur game
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
AnimationController worldController; | |
@override | |
void initState() { | |
super.initState(); | |
worldController = | |
AnimationController(vsync: this, duration: Duration(days: 99)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment