piksel_svg 0.2.1 copy "piksel_svg: ^0.2.1" to clipboard
piksel_svg: ^0.2.1 copied to clipboard

SVG decoder plugin for piksel. Adds vector SVG support behind the same ImageRequest pipeline — caching, sizing and transforms included.

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.

0
likes
150
points
107
downloads
screenshot

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

SVG decoder plugin for piksel. Adds vector SVG support behind the same ImageRequest pipeline — caching, sizing and transforms included.

Repository (GitHub)
View/report issues

Topics

#svg #image #vector-graphics

License

MIT (license)

Dependencies

flutter, flutter_svg, piksel

More

Packages that depend on piksel_svg