dengyin2000 / dynamic_widget

A Backend-Driven UI toolkit, build your dynamic UI with json, and the json format is very similar with flutter widget code.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

is it a dynamic DSL solution?

Alvazz opened this issue · comments

Hi, Dengyin.

Thanks for shared good project.

Has one question.

Does this have any relevance to JS? In other words, is it a dynamic DSL solution?

no, it's a json data definition for each flutter widget.

you can push the json to your app, so the UI can be dynamic, Flap is more complicated then dynamic widget, it can execute business logic, but dynamic widget can't

extremely! so, this is what i want ask. what is it execute business logic principle. thanks

and one more question.

The business logic execution you are referring to, is it for example, I have a button in the json file, and the event of this button is triggered? Does business logic refer to this event? Or is it something more complicated, for example?

dynamic widget is used for dynamic UI, and it supports simple click event, you need handle it by your app dart code.

the usual sence is e-commerce app, which need flexible page. most of click event will route to a product detail page.

thanks a lot.