Repository: flutter
Issue: [flutter_svg] SVG not rendering remotelly but works locally
Labels: package,p: flutter_svg

_Imported from https://github.com/dnfield/flutter_svg/issues/821_

Original report by @ranvirsahota on Dec 20, 2022

Can't get the attached svg to render
![Untitled-1](https://user-images.githubusercontent.com/18485561/208668109-6a591623-7191-4a78-ab88-48fc52d7f80e.svg)

I did what was requested as per the reccomendations setting svg attritubutes to required values. I don't know if related or not but when I try to upload the icon to fluttericon.com I always get an error saying
```
If image looks not as expected please convert to [compound path](https://github.com/fontello/fontello/wiki/How-to-use-custom-images#importing-svg-images) manually.

Skipped tags and attributes: fill
```
Thanks

---
Comment by @ranvirsahota on Dec 28, 2022
I tried with the svgParser as well this is my code:

```
    final SvgParser parser = SvgParser();
    try {
      parser.parse('icons/add/add_white_bg.svg', warningsAsErrors: true);
      print('SVG is supported');
    } catch (e) {
      print('SVG contains unsupported features');
    }
```
    
    And the output
```
    SVG is supported
Error: Bad state: Invalid SVG data
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 266:49                   throw_
packages/flutter_svg/src/svg/parser_state.dart 900:7                                           parse
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 84:54                             runBody
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 123:5                             _async
packages/flutter_svg/src/svg/parser_state.dart 877:29                                          parse
packages/flutter_svg/parser.dart 27:23                                                         parse
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 84:54                             runBody
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 123:5                             _async
packages/flutter_svg/parser.dart 19:29                                                         parse
packages/track/src/features/account_administration/presentation/accounts_list_view.dart 37:13  initState
SVG is supported
Error: Bad state: Invalid SVG data
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 266:49                   throw_
packages/flutter_svg/src/svg/parser_state.dart 900:7                                           parse
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 84:54                             runBody
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 123:5                             _async
packages/flutter_svg/src/svg/parser_state.dart 877:29                                          parse
packages/flutter_svg/parser.dart 27:23                                                         parse
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 84:54                             runBody
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 123:5                             _async
packages/flutter_svg/parser.dart 19:29                                                         parse
packages/track/src/features/account_administration/presentation/accounts_list_view.dart 37:13  initState
```

---
Comment by @the-thirteenth-fox on May 5, 2023
Same problem