1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 13:58:47 +00:00

call super.dispose() in sample (#141)

closes flutter/flutter#40157
This commit is contained in:
John Ryan
2019-09-10 16:01:26 -07:00
committed by GitHub
parent fde7a0aefe
commit f9d973e7ba

View File

@@ -49,6 +49,11 @@ class _TweenSequenceDemoState extends State<TweenSequenceDemo>
animation = TweenSequence<Color>(sequenceItems).animate(controller);
}
void dispose() {
controller.dispose();
super.dispose();
}
@override
Widget build(BuildContext context) {
return Scaffold(