-
Notifications
You must be signed in to change notification settings - Fork 458
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code generation support #38
Comments
@dnfield wow pretty cool. Can you please design this so we can still use runtime building. Compile time building is great for stuff you know wont change, but runtime is really useful because i am working on using the SVG package with with HTML Flutter. Togather i get the ability to have everything interpreted at runtime. |
I have no plans to deprecate runtime loading/rendering. This would basically just allow for parsing and generating the Drawable at compile time |
It's looking like to do this sensibly will require decoupling the parsing logic a bit more. Just want to make sure to not bloat up memory requirements when doing so... |
This is blocked by #47 - not so much because of DOM, but because parsing needs to be rewritten a bit to make this make sense. |
Hi there, Am I just missing something in the other repos? |
I do not intend to work on this anymore, and am instead looking into working on a new package (https://github.com/dnfield/vector_graphics) that captures the spirit of this issue. |
It should be entirely possible to generate the
DrawableRoot
and children from SVG data at compile time, thus sparing parsing.This is a different take than trying to make things serializable, which should have a few advantages:
But a few limitations:
See also dnfield/flutter_path_drawing#2
The text was updated successfully, but these errors were encountered: