Answers for "stackoverflow dart"

0

stackover flow dart forloop

import 'dart:html';
  import 'dart:async';

  main() async {
  List li = ["-", "\", "|", "/"];
    for (var i = 0; i < 400000000; i++) {
      querySelector('#test').text = li[i % 4];
      (await new Future.delayed(const Duration(seconds: 1)));
    }
  }
Posted by: Guest on December-02-2020

Code answers related to "Dart"

Browse Popular Code Answers by Language