A flutter plugin to read network proxy info from native. It can be used to set up the network proxy for flutter.
You should add the following to your pubspec.yaml
file:
dependencies:
flutter_proxy:
path: packages/flutter_proxy
final settings = await FlutterProxy.proxySetting;
bool enabled = settings.enabled;
String host = settings.host;
int port = settings.port;