'Writing the flutter code on a server and implementing it inside my application

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



Solution 1:[1]

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

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Vandad Nahavandipoor