-
Notifications
You must be signed in to change notification settings - Fork 502
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
scrollable_positioned_list stopped worked after flutter 1.22 upgrade #183
Comments
I am having the same issue after the upgrade. This issue was also there before but if I remember correctly there was a quick fix last time. Now it is back again. Flutter 1.22.0 • channel stable • https://github.com/flutter/flutter.git Exception thrownE/flutter (11873): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: NoSuchMethodError: The method '_mulFromInteger' was called on null. |
same issue is happening for me as well.. |
looking... |
I haven't been able to repo. With this project https://github.com/tarobins/spl_example_wrapper I was able to get it to run on [✓] Flutter (Channel stable, 1.22.0, on Mac OS X 10.15.6 19G2021, locale en-US) See image Can someone maybe post a repo where the example doesn't work that I can clone and see if there's something slightly different? |
Hi Thank you for your quick response.. MINIMAL CODE FOR REPRODUCE Version Doctor summary (to see all details, run flutter doctor -v): • No issues found! |
I got the exception with the above example. will take a look. thanks |
Thanks, looking forward to the fix, one of my products stopped functioning because of this problem. |
Yup.. for me as well... Looking forward to get it fixed soon :) |
I was able to fix the example @Mehedi50200 gave with tarobins/sp_example@41ab3fa (ignore the pubspec.lock changes: after making the other changes and running Basically I switched from the old mono-package flutter_widgets to the new scrollable_positioned_list package. If you need other widgets from flutter_widgets, the new packages can be found listed at the top of https://pub.dev/packages/flutter_widgets. If anyone is indeed using the scrollable_positioned_list package, and the latest version thereof, and still running into issues, please let me know. |
Thanks @Mehedi50200 for the example repo. Would have been very hard to figure out the issue (if that is indeed the only issue) without the example. |
thank you a lot for the quick fix. you are great !!. i already tested on my production application with scrollable_positioned_list pack. worked like a charm. i did not use any other widget from flutter_widgets so cannot be sure if that is the only one. |
I am using scrollable_positioned_list directly, not via flutter_widgets. At the minute, I am unable to reproduce an error on newly built flutter app, but still have problem on my original project. I will try to reproduce the exception on demo app and share the repo. |
@tarobins Thanks a lot for the quick fix!👏 |
I have ended up creating new app and copying dart files as original project was created pre flutter 1.12 and I assume that was causing the issue. It works now. Thanks |
Problem description
scrollable_positioned_list stopped worked after flutter 1.22 upgrade.
Steps to reproduce
Expected behavior
Working scrollable positioned list.
Actual behavior
Exception thrown
Environment
Android
Flutter doctor summary:
flutter doctor -v
[✓] Flutter (Channel stable, 1.22.0, on Mac OS X 10.15.6 19G2021, locale en-GB)
• Flutter version 1.22.0 at /Users/art/Development/flutter
• Framework revision d408d302e2 (7 days ago), 2020-09-29 11:49:17 -0700
• Engine revision 5babba6c4d
• Dart version 2.10.0
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at /usr/local/Caskroom/android-sdk/25.2.3
• Platform android-29, build-tools 28.0.3
• ANDROID_HOME = /usr/local/Caskroom/android-sdk/25.2.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 12.0)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.0, Build version 12A7209
• CocoaPods version 1.9.3
[✓] Android Studio (version 3.5)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 44.0.1
• Dart plugin version 191.8593
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
[✓] VS Code (version 1.49.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.15.0
[✓] Connected device (1 available)
• Android SDK built for x86 (mobile) • emulator-5554 • android-x86 • Android 9 (API 28) (emulator)
• No issues found!
The text was updated successfully, but these errors were encountered: