ByType class

A Flutter Driver finder that finds widgets by their runtimeType.

Inheritance

Constructors

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