Unverified Commit 4b176a71 authored by fzyzcjy's avatar fzyzcjy Committed by GitHub

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?
parent 6cf50ef9
...@@ -724,8 +724,6 @@ class _CupertinoBackGestureController<T> { ...@@ -724,8 +724,6 @@ class _CupertinoBackGestureController<T> {
/// [fractionalVelocity] as a fraction of screen width per second. /// [fractionalVelocity] as a fraction of screen width per second.
void dragEnd(double velocity) { void dragEnd(double velocity) {
// Fling in the appropriate direction. // 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 // This curve has been determined through rigorously eyeballing native iOS
// animations. // animations.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment