This commit is contained in:
Janice Collins
2021-07-01 15:06:05 -07:00
committed by GitHub
parent b0bd7cf1d8
commit 52e2ca38fc
8 changed files with 27 additions and 20 deletions

View File

@@ -742,7 +742,8 @@ abstract class FlutterDriver {
class CommonFinders {
const CommonFinders._();
/// Finds [Text] and [EditableText] widgets containing string equal to [text].
/// Finds [widgets.Text] and [widgets.EditableText] widgets containing string
/// equal to [text].
SerializableFinder text(String text) => ByText(text);
/// Finds widgets by [key]. Only [String] and [int] values can be used.