Fix the documentation for find.byElementPredicate (#4935)
This commit is contained in:
committed by
Adam Barth
parent
b8d15a1e61
commit
486b783076
@@ -107,7 +107,7 @@ class CommonFinders {
|
||||
///
|
||||
/// Example:
|
||||
///
|
||||
/// expect(tester, hasWidget(find.byWidgetPredicate(
|
||||
/// expect(tester, hasWidget(find.byElementPredicate(
|
||||
/// // finds elements of type SingleChildRenderObjectElement, including
|
||||
/// // those that are actually subclasses of that type.
|
||||
/// // (contrast with byElementType, which only returns exact matches)
|
||||
|
||||
Reference in New Issue
Block a user