Flutter_svg: SVGs to Flutter Custom Paint Code

Created on 21 Feb 2021  路  6Comments  路  Source: dnfield/flutter_svg

I found the following tool to convert SVG to custom paint code
I share it so it could be an alternative
https://fluttershapemaker.com/

All 6 comments

Cool. I'd be happy to add this to the readme as an alternative if the author would like.

Mentioned this in the PR I just opened, but on a couple SVGs I just tried this tool produces pretty questionable output. I'm also a bit concerned about the design model here - having a web service rather than e.g. a codegen solution is probably harder to deal with to make sure your code stays in sync with what the designer gives you. I'm still fine with linking it though.

The code it produces will also have trouble because it ends up doing lots of work in the paint phase and doesn't cache anything.

@dnfield Author mentioned that he will make static variables to improve the performance.
Still, the tool is not perfect but I think it is a cool idea

@dnfield I approved your PR, Send me the Dash bird :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

barak-innov picture barak-innov  路  4Comments

bbedward picture bbedward  路  6Comments

jeffersondarcy picture jeffersondarcy  路  3Comments

alectogeek picture alectogeek  路  5Comments

kentcb picture kentcb  路  4Comments