Timer delayTimer(Function func, [Duration duration = const Duration(milliseconds: 50)]) { return Timer(duration, () { func(); }); }