Stream timeStream() async* { while (true) { await Future.delayed(const Duration(milliseconds: 100)); yield DateTime.now(); } }