Fix error in sample code (#10339)

This commit is contained in:
Mikkel Nygaard Ravn 2017-05-26 19:32:29 +02:00 committed by GitHub
parent e9d50f8aeb
commit c11d1318f8

View File

@ -100,7 +100,7 @@ class _ChainedEvaluation<T> extends Animatable<T> {
/// _animation = new Tween<Offset>( /// _animation = new Tween<Offset>(
/// begin: const Offset(100.0, 50.0), /// begin: const Offset(100.0, 50.0),
/// end: const Offset(200.0, 300.0), /// end: const Offset(200.0, 300.0),
/// ).animation(_controller); /// ).animate(_controller);
/// ``` /// ```
/// ///
/// That would provide an `_animation` that, over the lifetime of the /// That would provide an `_animation` that, over the lifetime of the