From df45748de68bd50d6487feca4e122ab2ee744c21 Mon Sep 17 00:00:00 2001 From: VisheshAtWork <61107922+VisheshAtWork@users.noreply.github.com> Date: Tue, 2 Jun 2020 21:46:28 +0530 Subject: [PATCH] Added Documentation for AnimationController.repeat() (#58098) --- packages/flutter/lib/src/animation/animation_controller.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/flutter/lib/src/animation/animation_controller.dart b/packages/flutter/lib/src/animation/animation_controller.dart index 764514ef234..c8adf119433 100644 --- a/packages/flutter/lib/src/animation/animation_controller.dart +++ b/packages/flutter/lib/src/animation/animation_controller.dart @@ -605,6 +605,10 @@ class AnimationController extends Animation /// 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]). ///