{"repo":"zathras/jovial_svg","free":true,"listed":false,"github":"https://github.com/zathras/jovial_svg","clone":"git clone https://github.com/zathras/jovial_svg.git","description":"Flutter library for robust, efficient rendering of SVG static images","language":"Dart","stars":127,"topics":["flutter","svg"],"license":"BSD-3-Clause","category":"mobile-apps","readme_excerpt":"jovial svg Robust, efficient rendering of SVG static images, supporting a well-defined profile of SVG, an efficient binary storage format, and animation. Very fast load times result from using the binary format -- loading a pre-compiled binary file is usually an order of magnitude faster than parsing an XML SVG file. Observed speedups for loading larger SVG files range from 5x to 20x. The supported SVG profile includes the parts of SVG Tiny 1.2 that are applicable to static images, plus a healthy subset of SVG 1.1. In-line Cascading style sheets (CSS) are supported with limitations, via the tag. In addition to SVG, Android Vector Drawable files are supported. A widget for displaying these scalable images is provided. SVG assets can be modified with a DOM interface in order to produce animation. The library is published to pub.dev , where you can also find the dartdocs. It's used for the jupiter icon in JRPN, and for the cards in Jovial Aisleriot. Getting Started An SVG can be parsed into a ScalableImage and displayed in a ScalableImageWidget like this: It's generally preferable to pre-load an instance of ScalableImage , as discussed below. Alternately, a cache can be used to avoid re-loading. Sample applicatons are available. The asset sample shows the common case of a static SVG asset bundled with the application. The cache sample might be of interest if ScalableImageWidget is used in a widget that is frequently rebuilt (e.g. because it's used in an animation), or if SVGs ar","default_branch":null,"files":null,"tree":[],"storefront":"/r/zathras","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/zathras/jovial_svg/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}