Commit 486b7830 authored by YoungSeok Yoon's avatar YoungSeok Yoon Committed by Adam Barth

Fix the documentation for find.byElementPredicate (#4935)

parent b8d15a1e
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment