ByText class Null safety

A Flutter Driver finder that finds widgets by text inside a Text or 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-only, override
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
text String
The text that appears inside the Text or 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
Returns 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.