Using Flutter in China

Configuring Flutter to use a mirror site

Community-run mirror sites

The Flutter community has made a Simplified Chinese version of the
Flutter website available at
https://flutter.cn.

If you’d like to install Flutter using an 
installation bundle,
you can replace the domain of the original URL with a trusted mirror
to speed it up. For example:

Original URL:
https://storage.googleapis.com/flutter_infra_release/releases/stable/windows/flutter_windows_3.3.0-stable.zip

Mirrored URL:
https://storage.flutter-io.cn/flutter_infra_release/releases/stable/windows/flutter_windows_3.3.0-stable.zip

You must also set two environment variables to upgrade Flutter and use the pub
package repository in China. Instructions are below.