4
2
Fork 0

SVGPicture.assets import for Beep logo failing #21

Open
opened 2019-02-21 12:09:48 +08:00 by sudharshan · 0 comments
Syncing files to device iPhone XS...
flutter: ══╡ EXCEPTION CAUGHT BY SVG ╞═══════════════════════════════════════════════════════════════════════
flutter: The following StateError was thrown in _getDefinitionPaint:
flutter: Bad state: Failed to find definition for url(#paint0_radial)
flutter:
flutter: This library only supports <defs> and xlink:href references that are defined ahead of their
flutter: references. This error can be caused when the desired definition is defined after the element
flutter: referring to it (e.g. at the end of the file), or defined in another file.
flutter: This error is treated as non-fatal, but your SVG file will likely not render as intended
flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════
flutter: Another exception was thrown: Bad state: Failed to find definition for url(#paint1_linear)

Fix this and switch to SVG icons instead of PNG ones

``` Syncing files to device iPhone XS... flutter: ══╡ EXCEPTION CAUGHT BY SVG ╞═══════════════════════════════════════════════════════════════════════ flutter: The following StateError was thrown in _getDefinitionPaint: flutter: Bad state: Failed to find definition for url(#paint0_radial) flutter: flutter: This library only supports <defs> and xlink:href references that are defined ahead of their flutter: references. This error can be caused when the desired definition is defined after the element flutter: referring to it (e.g. at the end of the file), or defined in another file. flutter: This error is treated as non-fatal, but your SVG file will likely not render as intended flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════ flutter: Another exception was thrown: Bad state: Failed to find definition for url(#paint1_linear) ``` Fix this and switch to SVG icons instead of PNG ones
sudharshan self-assigned this 2019-02-21 12:09:48 +08:00
sudharshan added the
bug
label 2019-02-21 12:09:48 +08:00
Sign in to join this conversation.
There is no content yet.