Reputation: 483
Is it possible to write a flutter code and save it inside Database and then send it to a flutter application and implement this code .. Is this possible?
We see that it is possible to write flutter code on the web and make a run for it, for example: https://flutlab.io/editor
What I want to do is write the code and save it as a string inside Database. Then send it through the api to my filter application and the application takes this to the string and executes it as a flutter code written inside the application
Upvotes: 1
Views: 900
Reputation: 1574
No (un)fortunately. Dart uses an AOT and JIT and you need to learn about those to understand the reasoning behind this. You can learn more about them here: https://dart.dev/faq#q-which-is-faster--aot--or-jit-compiled-code
Upvotes: 3