Commit 2bc0a059 authored by Seth Ladd's avatar Seth Ladd

Merge pull request #1000 from flutter/sethladd-patch-1

Add a doc comment for Performance's repeat()
parents 93053c06 96ae6d65
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment