fix(controller): dispose animation controller

This commit is contained in:
Ricardo Dalarme 2023-01-13 23:30:14 -03:00
parent 0c556f393e
commit a25b9e0150
1 changed files with 6 additions and 0 deletions

View File

@ -148,6 +148,12 @@ class _SwipeableCardsStackState extends State<SwipeableCardsStack>
});
}
@override
void dispose() {
_controller.dispose();
super.dispose();
}
@override
Widget build(BuildContext context) {
return Expanded(