キーが押されるまで Dart プロセスの実行を停止する方法はありますか?
これは次のようになります。
- html ファイル内:
<input id="nextstep" type="button" value="nextstep" />
- ダーツファイルで:
void main() {
while(true) {
// Do something here to pause the loop
// until the nextstep button is pressed
}
}