When I run the command flutter run -d chrome --web-port 3000
There I always see an "XMLHttpRequest Error" in Chrome.
It says:
The OAuth token was not passed to gapi.client, since the gapi.client library is not loaded in your page.
I didn't find any answers here referring to this problem.
Has anybody encountered this problem and been able to solve it?
I attempted all of the methods outlined in another post, How to solve flutter web api cors error only with dart code, but none of them worked for me.