findsAtLeast function

Matcher findsAtLeast(
  1. int n
)

Asserts that the FinderBase locates at least the given number of candidates.

Sample code

expect(find.text('Save'), findsAtLeast(2));

See also:

  • findsNothing, when you want the finder to not find anything.
  • findsAny, when you want the finder to find one or more candidates.
  • findsOne, when you want the finder to find exactly one candidates.
  • findsExactly, when you want the finder to find a specific number of candidates.

Implementation

Matcher findsAtLeast(int n) => _FindsCountMatcher(n, null);