Description
URLs that serve SVG content but lack a .svg extension (e.g. CDN URLs, signed URLs, proxy endpoints) are not correctly classified by the resolver pipeline. The source falls through to a raster renderer and fails at decode time.
Reproduction
AnyImage(source: 'https://img.shields.io/badge/format-SVG-blue')
Expected behaviour
The widget should render the SVG correctly, or fall back gracefully.
Workaround (v0.0.1)
AnyImage(source: url, sourceType: SourceType.svg)
Exclusively mention the sourceType if the source is known to a developer.
Description
URLs that serve SVG content but lack a
.svgextension (e.g. CDN URLs, signed URLs, proxy endpoints) are not correctly classified by the resolver pipeline. The source falls through to a raster renderer and fails at decode time.Reproduction
AnyImage(source: 'https://img.shields.io/badge/format-SVG-blue')Expected behaviour
The widget should render the SVG correctly, or fall back gracefully.
Workaround (v0.0.1)
AnyImage(source: url, sourceType: SourceType.svg)Exclusively mention the sourceType if the source is known to a developer.