diff --git a/packages/flutter/lib/src/animation/tween.dart b/packages/flutter/lib/src/animation/tween.dart index 2cf0ce18cc..0e78aa3525 100644 --- a/packages/flutter/lib/src/animation/tween.dart +++ b/packages/flutter/lib/src/animation/tween.dart @@ -100,7 +100,7 @@ class _ChainedEvaluation extends Animatable { /// _animation = new Tween( /// begin: const Offset(100.0, 50.0), /// end: const Offset(200.0, 300.0), -/// ).animation(_controller); +/// ).animate(_controller); /// ``` /// /// That would provide an `_animation` that, over the lifetime of the