In this question: Bad state: Insecure HTTP is not allowed by platform: we can find solution for ios and Android, but how we fix it in Chrome web platform? I try do it in Flutter 2.0.3
In this question: Bad state: Insecure HTTP is not allowed by platform: we can find solution for ios and Android, but how we fix it in Chrome web platform? I try do it in Flutter 2.0.3
You can try to make secure call using https:
Response response = await get('https://you_api_url');
I solve it. If You need http insecure request, You must allow to do it. There is information how to allow it: https://flutter.dev/docs/release/breaking-changes/network-policy-ios-android