diff --git a/packages/patrol_finders/lib/src/custom_finders/patrol_finder.dart b/packages/patrol_finders/lib/src/custom_finders/patrol_finder.dart index 65d7b590f8..a291f45d4c 100644 --- a/packages/patrol_finders/lib/src/custom_finders/patrol_finder.dart +++ b/packages/patrol_finders/lib/src/custom_finders/patrol_finder.dart @@ -444,6 +444,9 @@ class PatrolFinder extends MatchFinder { /// Returns true if this finder finds at least 1 widget. bool get exists => evaluate().isNotEmpty; + @override + String describeMatch(Plurality plurality) => finder.describeMatch(plurality); + /// Returns true if this finder finds at least 1 visible widget. bool get visible { final isVisible = hitTestable().evaluate().isNotEmpty; @@ -460,6 +463,9 @@ class PatrolFinder extends MatchFinder { @override FinderResult evaluate() => finder.evaluate(); + @override + bool tryEvaluate() => finder.tryEvaluate(); + @override Iterable apply(Iterable candidates) { return finder.apply(candidates); @@ -497,6 +503,12 @@ class PatrolFinder extends MatchFinder { @override bool precache() => finder.precache(); + @override + FinderResult get found => finder.found; + + + + @override PatrolFinder hitTestable({Alignment at = Alignment.center}) { return PatrolFinder(finder: finder.hitTestable(at: at), tester: tester);