HitTestResult class

The result of performing a hit test.

Implementers

Constructors

HitTestResult()
Creates an empty hit test result.
HitTestResult.wrap(HitTestResult result)
Wraps result (usually a subtype of HitTestResult) to create a generic HitTestResult. [...]

Properties

path Iterable<HitTestEntry>
An unmodifiable list of HitTestEntry objects recorded during the hit test. [...]
read-only
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

add(HitTestEntry entry) → void
Add a HitTestEntry to the path. [...]
popTransform() → void
Removes the last transform added via pushTransform. [...]
@protected
pushTransform(Matrix4 transform) → void
Pushes a new transform matrix that is to be applied to all future HitTestEntrys added via add until it is removed via popTransform. [...]
@protected
toString() String
Returns a string representation of this object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited

Operators

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