This fork fixes compilation error for the newest Flutter version and adds support for iOS PAC
http_proxy get the proxy settings of mobile device automatically,and set up proxy for http.
You should initialize before runapp().
void main() async {
WidgetsFlutterBinding.ensureInitialized();
HttpProxy httpProxy = await HttpProxy.createHttpProxy();
HttpOverrides.global=httpProxy;
runApp(MyApp());
}
That's all done.You can use Charles or other proxy tools now.