descendantTextContaining method
Finder
descendantTextContaining(
{ - required Finder of,
- required Pattern pattern,
- bool matchRoot = false,
- bool findRichText = false,
- bool skipOffstage = true,
})
Implementation
Finder descendantTextContaining({
required Finder of,
required Pattern pattern,
bool matchRoot = false,
bool findRichText = false,
bool skipOffstage = true,
}) {
return find.descendant(
of: of,
matching: find.textContaining(
pattern,
findRichText: findRichText,
skipOffstage: skipOffstage,
),
matchRoot: matchRoot,
skipOffstage: skipOffstage,
);
}