I uploaded image to Firebase Storage then I get Image’s Url to Firebase Storage created link for image. Then I saved image’s url in Firestore Documents. I get ImageUrl from firestore If message have a image and when I want to display a message. Before it was work but not its giving error.
Expanded(
flex: imageFlex,
child: SizedBox(
child: Image.network(message["ImageUrl"].toString())),
),
EDITED
2
Answers
There is a Flutter issue about this problem introduced in 3.10.0
https://github.com/flutter/flutter/issues/126650
I saw this error with version 3.10.2; it is gone with version 3.10.3. There is a fix mentioned in the release notes under dart/52373. A thread about the issue mentions that it can be avoided by unchecking "All Exceptions" under "Breakpoints" in VS Code, but I did not try that.