Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Method has some issue #43

Open
RjMakwana2660 opened this issue Sep 5, 2023 · 3 comments
Open

Method has some issue #43

RjMakwana2660 opened this issue Sep 5, 2023 · 3 comments

Comments

@RjMakwana2660
Copy link

@override Simulation? createBallisticSimulation( ScrollMetrics position, double velocity) { // Tolerance tolerance = toleranceFor(position); Tolerance tolerance = Tolerance(velocity: velocity); final double target = _getTargetPixels(position as ScrollPosition, tolerance, velocity); if (target != position.pixels) { return ScrollSpringSimulation(spring, position.pixels, target, velocity, tolerance: tolerance); } return null; }
Method Mentioned here is having issue : toleranceFor
Mentioned Method doesnt define under the code please resolved it mentioned

**Tolerance tolerance = Tolerance(velocity: velocity);**
@alanchan-dev
Copy link
Owner

Which flutter version are you using?

@marceloasantos
Copy link

I've got the same problem:

Flutter 3.7.6
Dart 2.19.3

@alanchan-dev
Copy link
Owner

**Tolerance tolerance = Tolerance(velocity: velocity);**
This fix wouldn't work as there will be rubber banding behavior when scrolling the spinner.
Can you guys try running flutter upgrade, see if it fix the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants