Hey all,
Yah, I had this struggle as well. You can specify a proxy using the `HttpOverrides` class:
Http.runZoned(() {
runApp(MyApp());
}, findProxyFromEnvironment: (_, __) {
return '10.0.2.2';
});
However, that didn't always quite work for me on Android (although it worked for the iOS simulator by specifying a different proxy url). Therefore, I created a flutter_stetho plugin for debugging network requests from the Android side:
https://pub.dartlang.org/packages/flutter_stetho
Hope these help!
Brian