DEV Community

Discussion on: Flutter Web: Should I use it? (Part 4— I believe so)

Collapse
 
shahidbangash profile image
Shahid Bangash

Thanks for explaining well . I had a very bad experience in loading Cross origin Images in flutter web . I used custom Html to display image and rendered it as a widget.

I have noticed that Flutter web doesn't allow Http request for cross origin as well. Htpp request works fine on mobile .

Although Cors is browser side limitations but there must be a way to send http request to Cross origin resources on flutter web.

Collapse
 
remejuan profile image
Reme Le Hane

Cross-Origin is not a flutter web thing, but a web thing. Unless the domain you are making the request to allows your domain to be making the request it will not be allowed and the call will fail with a CORS error, regardless of the framework used.