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

BouncingScrollPhysics not working #13

Closed
hyungtaecf opened this issue Jan 22, 2021 · 3 comments
Closed

BouncingScrollPhysics not working #13

hyungtaecf opened this issue Jan 22, 2021 · 3 comments

Comments

@hyungtaecf
Copy link

I'm trying to apply BouncingScrollPhysics when moving through the tabs but ClampingScrollPhysics is applied instead.

flutter doctor -v
[√] Flutter (Channel stable, 1.22.5, on Microsoft Windows [versão 10.0.19041.746], locale pt-BR)
• Flutter version 1.22.5 at C:\src\flutter
• Framework revision 7891006299 (6 weeks ago), 2020-12-10 11:54:40 -0800
• Engine revision ae90085a84
• Dart version 2.10.4

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.0-rc4)
• Android SDK at C:\Users\HTCF\AppData\Local\Android\sdk
• Platform android-30, build-tools 30.0.0-rc4
• ANDROID_HOME = C:\Users\HTCF\AppData\Local\Android\sdk
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
• All Android licenses accepted.

[√] Android Studio (version 4.0)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 47.1.2
• Dart plugin version 193.7361
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] IntelliJ IDEA Community Edition (version 2019.3)
• IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.3.2
• Flutter plugin version 45.1.2
• Dart plugin version 193.7547

[√] VS Code (version 1.52.1)
• VS Code at C:\Users\HTCF\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.18.1

[√] Connected device (1 available)
• Moto G Play (mobile) • 0026091935 • android-arm • Android 7.1.1 (API 25)

• No issues found!

@zmtzawqlp
Copy link
Member

which version do you use?

@zmtzawqlp
Copy link
Member

_physics = _defaultScrollPhysics.applyTo(widget.physics == null

@hyungtaecf
Copy link
Author

which version do you use?

Thanks for answering so quickly, and I'm sorry because I didn't check if it was the last version.
I had an outdated version. I updated it and it worked fine!

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

2 participants