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
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
type String
The widget's runtimeType, in string form.
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) ByType
Deserializes the finder from JSON generated by serialize.
override