Skip to content

Instantly share code, notes, and snippets.

@SandroMaglione
Created February 17, 2020 17:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SandroMaglione/70a48a4d0a377c88d6e00472cab69a3b to your computer and use it in GitHub Desktop.
Save SandroMaglione/70a48a4d0a377c88d6e00472cab69a3b to your computer and use it in GitHub Desktop.
@override
void initState() {
super.initState();
_controller = AnimationController(
vsync: this,
duration: const Duration(
milliseconds: 1600,
),
);
_controller.addListener(() {
setState(() {});
});
_controller.forward();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment