We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e1c63e commit c42c9fdCopy full SHA for c42c9fd
lib/src/chart.dart
@@ -74,6 +74,8 @@ class _ChartState extends State<Chart> with TickerProviderStateMixin {
74
@override
75
void dispose() {
76
_controller.dispose();
77
+ widget.layers.forEach((e) => e.dispose());
78
+ _disposeOldLayers();
79
super.dispose();
80
}
81
0 commit comments