-
Notifications
You must be signed in to change notification settings - Fork 822
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
[BUG] type 'Null' is not a subtype of type 'List<int>' in type cast #577
Comments
Please, how to fix it? |
this error occurs when you are providing the wrong URL to the network image. Make sure you are providing the right URL(that ends with a format extension that is supported by the network image). |
@manishtalreja0510 URL is correct. |
@xarmatura copy the link in google chrome and check if the image is loading in chrome or not |
@manishtalreja0510 It's the URL to the video. I'm using a YouTube player to show videos from YouTube. |
Do not recommend using this plugin. |
How did you resolve the issue @xarmatura ? Please tell. |
I haven't solved it, I just don't use it anymore. Sorry, can't help. |
The following _CastError was thrown resolving an image codec:
type 'Null' is not a subtype of type 'List' in type cast
When the exception was thrown, this was the stack:
#1 NetworkImage._loadAsync (package:flutter/src/painting/_network_image_io.dart:99:24)
(elided one frame from dart:async)
Image provider: NetworkImage("https://i3.ytimg.com/vi_webp/mrMmoQFCUmI/sddefault.webp", scale: 1.0)
Image key: NetworkImage("https://i3.ytimg.com/vi_webp/mrMmoQFCUmI/sddefault.webp", scale: 1.0)
It happened when a video is loaded.
The text was updated successfully, but these errors were encountered: