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
list_wheel_scroll_view.dart throws Null check operator used on a null value
error while loading images
#60578
Comments
Hi @Faiyyaz, |
This is the class of a pub named
|
Hi @Faiyyaz, |
And don't use this plugin but I'm facing this same issue so I doubt it's related |
Same here. The cause for this bug is, like mentioned above, the Following code causes the crash. minScrollExtend and maxScrollExtend are both null: I could temporary fix this by checking the line for null values like: I could not check the beta and dev channels due to other bugs in the framework.
Pubspec:
|
@darshankawar, this is not related to any plugin but Cupertino Picker :
Please reopen ! |
@bounty1342 |
This comment has been minimized.
This comment has been minimized.
@bounty1342 |
flutter doctor -v
Issue found
minimal reproducible code sample
@darshankawar : Sorry, really thought it was. I did everything you asked for, so please reopen and take care of it. |
@bounty1342 |
This one is anterior and have a valid correction proposition. True fact, I don't care if this is this one or the other one, but this is up for more than 7 months now... where issue can be corrected by adding 2 null checks. |
@bounty1342
|
This comment has been minimized.
This comment has been minimized.
@bounty1342 |
Alright, but it kind of make sens that without correction it won't work. The propose solution that fixed the issue 2 month ago was => Now the error change with null-safety to
Obviously there is something wrong just by looking at it... The same fix for the issue would be :
Hope this will get a bit more attention. |
This comment has been minimized.
This comment has been minimized.
@bounty1342 flutter doctor -v
|
Null check operator used on a null value
error while loading images
Still reproducible in 2.0.6 |
I don't know if it is applicable to your context, but I mentioned my workaround here #61228, that is very simple but it took me a lot of time to find it... Now it works fine for me.
|
The issue is due to the widget having no size. (loading a Network images for example) |
Met the same issue. Please solve it asap. I'm using CupertinoPicker and can reproduce this issue. |
FYI, I found a workaround: In the mean time we might expect the flutter team to fix it. |
Now that the error has changed, I think this became a duplicate of #85867, which has less discussion. Or that is a duplicate of this, but one of them can be closed. |
This issue is no more reproducible since Flutter 3.0.5. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
The text was updated successfully, but these errors were encountered: