Flutter web still loads fonts.gstatic.com with `--no-web-resources-cdn`
- Dominant language
- Dart
- Stars
- 179k
- Forks
- 31.1k
- PR merge metrics
- PR metrics pending
Description
### Steps to reproduce
1. `flutter create hello_world`
2. `flutter build web --no-web-resources-cdn`
### Expected results
According to the docs I'd expect a web build to not try to load from `https://fonts.gstatic.com`
```
--[no-]web-resources-cdn Use Web static resources hosted on a CDN.
(defaults to on)
```
### Actual results
The build does though.
### Code sample
Code sample
```dart
[Paste your code here]
```
### Screenshots or Video
_No response_
### Logs
_No response_
### Flutter Doctor output
Doctor output
```console
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.29.0, on Garuda Linux 6.13.2-zen1-1-zen, locale en_US.UTF-8)
[✗] Android toolchain - develop for Android devices
✗ Unable to locate Android SDK.
Install Android Studio from: https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK components.
(or visit https://flutter.dev/to/linux-android-setup for detailed instructions).
If the Android SDK has been installed to a custom location, please use
`flutter config --android-sdk` to update to that location.
[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Linux toolchain - develop for Linux desktop
[!] Android Studio (not installed)
[✓] Connected device (1 available)
[✓] Network resources
! Doctor found issues in 3 categories.
```
Contributor guide
Assessment
This issue has not been assessed yet.