ByText class Null safety

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.
read-onlyoverride
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
text String
The text that appears inside the widgets.Text or widgets.EditableText widget.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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.