how to use js as a scripting language for flutter project?

Viewed 31

I'm trying to make a mobile code editor with flutter, as a personal project.

What I want to do is, make plugins or extentions for my android app...

For that I want to use JavaScript.

This way the user can download the plugin he needs. (just like vs code)

I couldn't find a way to do that.

It will be great if use any ONE of these langauges for scripting:

  1. Js
  2. Python
  3. dart

but keep in mind, all the plugins shall run in background.

for example:

Widget CodeEditor(){

  backgroundProcess.linting.listen(
   (value){
    setState({ containsErrors: value.hasErr });
   }
  );

}

something like this, or anything that works similarly. thank you in advance

0 Answers
Related