Relative Content

Tag Archive for dart

running js code in dart to perform calculations

the goal is to run a js script in dart(conditions2),
in the js script i need to perform some logic and get the data(current) out,
conditions2 should update current and then to access the updated current in save.
how do i do that?

unable to process injected variables in js script using dart

the goal is for dart to run a js script.
the issue is that i am not able to insert parameters for the js script to recognize in a dynamic manner.
i am able to add parameters if i hard code the data (see code).
for some reason the function is being treated as a string i think,
i added the outputs aswell::