ByText class

A Flutter Driver finder that finds widgets by text inside a widgets.Text or widgets.EditableText widget.

Inheritance

Constructors

ByText(String text)
Creates a text finder given the text.
const

Properties

finderType String
Identifies the type of finder to be used by the driver extension.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
The text that appears inside the widgets.Text or widgets.EditableText widget.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize() Map<String, String>
Serializes common fields to JSON.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

deserialize(Map<String, String> json) ByText
Deserializes the finder from JSON generated by serialize.