mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 22:09:06 +00:00
@@ -49,6 +49,11 @@ class _TweenSequenceDemoState extends State<TweenSequenceDemo>
|
|||||||
animation = TweenSequence<Color>(sequenceItems).animate(controller);
|
animation = TweenSequence<Color>(sequenceItems).animate(controller);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void dispose() {
|
||||||
|
controller.dispose();
|
||||||
|
super.dispose();
|
||||||
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
|
|||||||
Reference in New Issue
Block a user