From 6048ea968eb15ad35be12f2120dba333ba9f5583 Mon Sep 17 00:00:00 2001 From: Joachim Nohl <43643339+nohli@users.noreply.github.com> Date: Wed, 11 Sep 2024 18:47:32 +0100 Subject: [PATCH] Update packages/fluttium/lib/src/tester.dart --- packages/fluttium/lib/src/tester.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/fluttium/lib/src/tester.dart b/packages/fluttium/lib/src/tester.dart index b5c19b93..f6734b0b 100644 --- a/packages/fluttium/lib/src/tester.dart +++ b/packages/fluttium/lib/src/tester.dart @@ -170,7 +170,7 @@ class Tester { /// Wait for the semantics tree to be fully build. Future ready() async { - while (_semanticsOwner?.rootSemanticsNode == null) { + while (_semanticsOwner!.rootSemanticsNode == null) { await _binding.endOfFrame; } }