Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 446 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 446 Bytes

flutter_proxy

A flutter plugin to read network proxy info from native. It can be used to set up the network proxy for flutter.

Installing

You should add the following to your pubspec.yaml file:

dependencies:
  flutter_proxy:
    path: packages/flutter_proxy

Example

final settings = await FlutterProxy.proxySetting;
bool enabled = settings.enabled;
String host = settings.host;
int port = settings.port;