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

ScrollController 问题 #102

Open
wwwlinkdp opened this issue May 9, 2021 · 0 comments
Open

ScrollController 问题 #102

wwwlinkdp opened this issue May 9, 2021 · 0 comments

Comments

@wwwlinkdp
Copy link

lutter: ---api-request--->url--> https://www.wanandroid.com/wxarticle/chapters/json queryParameters: {}
flutter: ---api-request--->url--> https://www.wanandroid.com/wxarticle/list/408/0/json queryParameters: {}

======== Exception caught by foundation library ====================================================
The following assertion was thrown while dispatching notifications for ScrollController:
ScrollController attached to multiple scroll views.
'package:flutter/src/widgets/scroll_controller.dart':
Failed assertion: line 109 pos 12: '_positions.length == 1'

这个问题 我在MAC 在scrollbar 滚动时候触发。

问题重现

  1. 选择 webchat tab(基本任何一个tab 也会发生)
  2. 手势滚动 两次

这是我的flutter doctor 信息

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel dev, 2.0.5, on macOS 11.2.2 20D80 darwin-arm, locale en-HK)
[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from:
      https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK
      components.
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup
      for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[!] Android Studio (not installed)
[✓] IntelliJ IDEA Ultimate Edition (version 2021.1)
[✓] VS Code (version 1.55.2)
[✓] Connected device (2 available)

这个问题 在我window 当时在旧版本 FunAndroid_0.1.9 版本也会遇到

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

1 participant