evaluate method Null safety

  1. @override
FutureOr<Evaluation> evaluate(
  1. WidgetTester tester
)
override

Evaluate whether the current state of the tester conforms to the rule.

Implementation

@override
FutureOr<Evaluation> evaluate(WidgetTester tester) {
  return _traverse(
    tester,
    tester.binding.pipelineOwner.semanticsOwner!.rootSemanticsNode!,
  );
}