Future<void> liveDelay(Duration duration) async { if (duration <= Duration.zero) return; await tester.binding.delayed(duration); }