Skip to content

Commit

Permalink
Merge pull request #23 from 2d-inc/undisposed_controller
Browse files Browse the repository at this point in the history
Dispose of animationController
  • Loading branch information
filiph committed Apr 17, 2019
2 parents ef46794 + 6efeffe commit bfa130b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/src/widgets/buttons/welcome_button.dart
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ class _WelcomeButtonState extends State<WelcomeButton>
super.didUpdateWidget(oldWidget);
}

@override
void dispose() {
_animationController.dispose();
super.dispose();
}

@override
Widget build(BuildContext context) {
return AnimatedBuilder(
Expand Down

0 comments on commit bfa130b

Please sign in to comment.