Repository: flutter
Issue: [flutter_svg] Wrong display of SVG
Labels: package,team-ecosystem,has reproducible steps,P2,triaged-ecosystem,found in release: 3.24,found in release: 3.27,p: flutter_svg

### Steps to reproduce

1. Grab the first SVG from the Search-to-Close demo of https://shapeshifter.design (attached)
2. Create a SvgPicture that loads this SVG
3. Observe the display (attached)

![frame0](https://github.com/user-attachments/assets/95fa87fe-bbe6-4519-9e98-fbbeafa3391b)![Screenshot_20241108_215754](https://github.com/user-attachments/assets/57dd170f-6399-4282-9d27-628743fd08d4)

### Expected results

Correct rendering

### Actual results

Wrong rendering

### Code sample

<details open><summary>Code sample</summary>

```dart
SvgPicture.asset('assets/frame0.svg')
```

</details>


### Screenshots or Video

<details open>
<summary>Screenshots / Video demonstration</summary>

[Upload media here]

</details>


### Logs

_No response_

### Flutter Doctor output

<details open><summary>Doctor output</summary>

```console
P:\Flutter\bin\flutter.bat doctor --verbose
[√] Flutter (Channel stable, 3.24.4, on Microsoft Windows [Version 10.0.22631.4317], locale en-US)
    • Flutter version 3.24.4 on channel stable at P:\Flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 603104015d (2 weeks ago), 2024-10-24 08:01:25 -0700
    • Engine revision db49896cf2
    • Dart version 3.5.4
    • DevTools version 2.37.3

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at p:\Android_SDK
    • Platform android-34, build-tools 34.0.0
    • ANDROID_SDK_ROOT = p:\Android_SDK
    • Java binary at: c:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 21.0.3+-12282718-b509.11)
    • All Android licenses accepted.

[X] Chrome - develop for the web (Cannot find Chrome executable at .\Google\Chrome\Application\chrome.exe)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.11.5)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.11.35327.3
    • Windows 10 SDK version 10.0.22621.0

[√] Android Studio (version 2024.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 21.0.3+-12282718-b509.11)

[√] Connected device (2 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22631.4317]
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 130.0.2849.80

[√] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.
```

</details>