mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08: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…
x
Reference in New Issue
Block a user