piksel_svg

SVG support for piksel. Registers a decoder that renders SVG through the same widget, cache and transform pipeline as raster images.

Piksel.configure(Piksel(
  components: const ComponentRegistry(decoders: [SvgDecoder()]),
));

PikselImage.network('https://example.com/logo.svg');

Format detection uses the response mime type and magic-byte sniffing (<svg / <?xml), so extension-less URLs work.

Libraries

piksel_svg
SVG support for piksel. Register SvgDecoder in your ComponentRegistry.