From c11d1318f8d07ab8540d24a9a2ed3e08acf637d3 Mon Sep 17 00:00:00 2001 From: Mikkel Nygaard Ravn Date: Fri, 26 May 2017 19:32:29 +0200 Subject: [PATCH] Fix error in sample code (#10339) --- packages/flutter/lib/src/animation/tween.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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