Added Documentation for AnimationController.repeat() (#58098)

This commit is contained in:
VisheshAtWork 2020-06-02 21:46:28 +05:30 committed by GitHub
parent c911aefbc0
commit df45748de6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -605,6 +605,10 @@ class AnimationController extends Animation<double>
/// repeat. The [status] will be reported as [AnimationStatus.reverse] when
/// the animation runs from [max] to [min].
///
/// Each run of the animation will have a duration of `period`. If `period` is not
/// provided, [duration] will be used instead, which has to be set before [repeat] is
/// called either in the constructor or later by using the [duration] setter.
///
/// Returns a [TickerFuture] that never completes. The [TickerFuture.orCancel] future
/// completes with an error when the animation is stopped (e.g. with [stop]).
///