Kyrylo K.

Results 71 comments of Kyrylo K.

> Does the error builder not work in this case? Isn't it global? What if i want something specific for error on this svg and something other for others? And...

> Ah! haha I was imagining API that doesn't exist. This should be easy to fix. I thought you were talking about this https://flutter.dev/docs/testing/errors#define-a-custom-error-widget-for-build-phase-errors

> > ``` > > Unable to load asset: resources/icons/mouse.svg; #0 PlatformAssetBundle.load (package:flutter/src/services/asset_bundle.dart:224)#1 AssetBundle.loadString (package:flutter/src/services/asset_bundle.dart:68)#2 AssetBundlePictureProvider._loadAsync (package:flutter_svg/src/picture_provider.dart:462) > > ``` > > > > > > > > > >...

My names are lowercase as files, but issue is present

> It sounds like you're dealing with some SVG that isn't valid XML. Perhaps due to a network error? All SVG are stored in assets and precompiled with the app

> The error indicates that an attempt was made to parse something as XML that isn't XML. But I do not face this issue myself

Is there something like errorBuilder or a callback to verify that svg is valid upon layout?

@dnfield i tried everything, checked svgs with such methods to replace them with placeholder with 100% working svg, added assets integrity verification, but issues are still sent to my server,...

> I thought this might be another occurrence of #138693 > > That bug was hotfixed to dart stable in version 3.2.3 in [dart-lang/sdk#54215](https://github.com/dart-lang/sdk/issues/54215), and I can see from the...

> For the record, can you please provide `flutter doctor -v`? > Thank you People who use my app do not have flutter installed on my pc. If you want...