From 4b176a716c4404593b37f182bd9d83e1d0356dc5 Mon Sep 17 00:00:00 2001 From: fzyzcjy <5236035+fzyzcjy@users.noreply.github.com> Date: Thu, 3 Aug 2023 00:21:54 +0800 Subject: [PATCH] Tiny remove outdated comments (#130387) I get confused when reading this comment. It seems that this code never calls `AnimationController.fling` (but only things like `animateTo`). Therefore, I do not think discussing the duration of `AnimationController.fling` is helpful - maybe it is just an outdated comment? --- packages/flutter/lib/src/cupertino/route.dart | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/flutter/lib/src/cupertino/route.dart b/packages/flutter/lib/src/cupertino/route.dart index 1c3ad869f8..f922eaf33e 100644 --- a/packages/flutter/lib/src/cupertino/route.dart +++ b/packages/flutter/lib/src/cupertino/route.dart @@ -724,8 +724,6 @@ class _CupertinoBackGestureController { /// [fractionalVelocity] as a fraction of screen width per second. void dragEnd(double velocity) { // Fling in the appropriate direction. - // AnimationController.fling is guaranteed to - // take at least one frame. // // This curve has been determined through rigorously eyeballing native iOS // animations.