From 96ae6d65efc2f534ccd20ce5f345e17adeaaa5ec Mon Sep 17 00:00:00 2001 From: Seth Ladd Date: Sun, 20 Dec 2015 11:33:10 -0800 Subject: [PATCH] Add a doc comment for Performance's repeat() How's this? --- packages/flutter/lib/src/animation/performance.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/flutter/lib/src/animation/performance.dart b/packages/flutter/lib/src/animation/performance.dart index 828dc1ebaea..e083e2f906f 100644 --- a/packages/flutter/lib/src/animation/performance.dart +++ b/packages/flutter/lib/src/animation/performance.dart @@ -646,6 +646,8 @@ class Performance extends PerformanceView return _timeline.animateWith(force.release(progress, velocity)); } + /// Starts running this animation in the forward direction, and + /// restarts the animation when it completes. Future repeat({ double min: 0.0, double max: 1.0, Duration period }) { period ??= duration; return _timeline.animateWith(new _RepeatingSimulation(min, max, period));