We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f921685 + 5287158 commit 2e7331cCopy full SHA for 2e7331c
example/lib/main.dart
@@ -78,7 +78,7 @@ class _MyHomePageState extends State<MyHomePage> {
78
Future<String> fetchLocalHost() async {
79
try {
80
var dio = new Dio();
81
- var url = 'http://192.168.0.132:8000';
+ var url = 'http://ip-api.com/json';
82
var proxy = await FlutterSystemProxy.findProxyFromEnvironment(url);
83
(dio.httpClientAdapter as DefaultHttpClientAdapter).onHttpClientCreate =
84
(HttpClient client) {
0 commit comments