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
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Expanded(
|
return Expanded(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue