Descendant class Null safety

A Flutter Driver finder that finds a descendant of of that matches matching.

If the matchRoot argument is true, then the widget specified by of will be considered for a match. The argument defaults to false.

Inheritance

Constructors

Descendant({@required SerializableFinder of, @required SerializableFinder matching, bool matchRoot: false, bool firstMatchOnly: false})
Creates a descendant finder.
const

Properties

finderType String
Identifies the type of finder to be used by the driver extension.
read-only, override
firstMatchOnly bool
If true then only the first descendant matching matching will be returned.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
matching SerializableFinder
Only a descendant of of matching this finder will be found.
final
matchRoot bool
Whether the widget matching of will be considered for a match.
final
of SerializableFinder
The finder specifying the widget of which the descendant is to be found.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

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, DeserializeFinderFactory finderFactory) Descendant
Deserializes the finder from JSON generated by serialize.