Skip to content

Instantly share code, notes, and snippets.

@AlabasterAxe
Created November 9, 2020 23:50
Show Gist options
  • Save AlabasterAxe/f89b9b3032a77af3e38e7978223818d4 to your computer and use it in GitHub Desktop.
Save AlabasterAxe/f89b9b3032a77af3e38e7978223818d4 to your computer and use it in GitHub Desktop.
initializing the worldController for Flutter implementation of Google Chrome dinosaur game
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