evaluate method
- WidgetTester tester
override
Evaluate whether the current state of the tester
conforms to the rule.
Implementation
@override
FutureOr<Evaluation> evaluate(WidgetTester tester) {
Evaluation result = const Evaluation.pass();
for (final RenderView view in tester.binding.renderViews) {
result += _traverse(
view.flutterView,
view.owner!.semanticsOwner!.rootSemanticsNode!,
);
}
return result;
}