Is there a way to stop the Dart process from running before a key is pressed?
It will be something like:
<input id="nextstep" type="button" value="nextstep" />
void main() { while(true) { // Do something here to pause the loop // until the nextstep button is pressed } }
source share