fix(controller): dispose animation controller
This commit is contained in:
parent
0c556f393e
commit
a25b9e0150
|
|
@ -148,6 +148,12 @@ class _SwipeableCardsStackState extends State<SwipeableCardsStack>
|
|||
});
|
||||
}
|
||||
|
||||
@override
|
||||
void dispose() {
|
||||
_controller.dispose();
|
||||
super.dispose();
|
||||
}
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Expanded(
|
||||
|
|
|
|||
Loading…
Reference in New Issue