You can use await Future.delayed(...)`: test("Testing timer", () async { int startTime = timer.seconds; timer.start(); // do something to ...
確定! 回上一頁