ready method
Wait for the semantics tree to be fully build.
Implementation
Future<void> ready() async {
while (_binding.pipelineOwner.semanticsOwner == null ||
_binding.pipelineOwner.semanticsOwner!.rootSemanticsNode == null) {
await _binding.endOfFrame;
}
}