ByType class

A Flutter Driver finder that finds widgets by their runtimeType.

Inheritance

Constructors

ByType(String type)
Creates a finder that given the runtime type in string form.
const

Properties

finderType String
Identifies the type of finder to be used by the driver extension.
read-only, override
type String
The widget's runtimeType, in string form.
final
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

Methods

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

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited

Static Methods

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