mirror of
https://github.com/flutter/flutter
synced 2024-10-14 04:02:56 +00:00
Added Documentation for AnimationController.repeat() (#58098)
This commit is contained in:
parent
c911aefbc0
commit
df45748de6
|
@ -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]).
|
||||
///
|
||||
|
|
Loading…
Reference in a new issue