Eclipse has a \"Network Connections\" page in its preferences that allows one to use proxies for network connections, so if I am behind a firewall I can use these connection
You have to set environment variables
https://www.dartlang.org/tools/editor/troubleshoot.html#pub-get-firewall
http_proxy=http://<yourproxy>.<yourdomain>.com:9090/
https_proxy=https://<yourproxy>.<yourdomain>.com:9090/
no_proxy=localhost,127.0.0.0/8
If your proxy needs authentication, the setup will look more like the following:
http_proxy=http://<username>:<password>@<yourproxy>.<yourdomain>.com:9090/
https_proxy=https://<username>:<password>@<yourproxy>.<yourdomain>.com:9090/
DartEditor is no more
To enable Dart Editor to check for updates, add the following to the DartEditor.ini file:
-Dhttp.proxyHost=<yourproxy>.<yourdomain>.com
-Dhttp.proxyPort=9090
-Dhttps.proxyHost=<yourproxy>.<yourdomain>.com
-Dhttps.proxyPort=9090
If you need a user name and password for authentication, add:
-Dhttp.proxyUser=<username>
-Dhttp.proxyPassword=<passwordstring>
-Dhttps.proxyUser=<username>
-Dhttps.proxyPassword=<passwordstring>
See also https://github.com/dart-lang/sdk/issues/24080