jonahwilliams / json_widget

Compile time conversion from json to widgets (For some reason...)
BSD 3-Clause "New" or "Revised" License
67 stars 12 forks source link

runtime generation #4

Closed ghost closed 5 years ago

ghost commented 5 years ago

Really useful tool. I like that fact that its a data schema that matches Dart Widget tree rather than an abstraction to Markdown or HTML, etc

Please support runtime generation from the JSON schema.

Example of doing the same from HTML. https://github.com/MartinHlavna/flutter_html_renderer.

jonahwilliams commented 5 years ago

This is only a simple demonstration of how to write code generation in Dart, it is not intended for runtime use - though you could use it as a starting place for one