A hit test entry used by RenderSliver.
The coordinate system used by this hit test entry is relative to the AxisDirection of the target sliver.
- crossAxisPosition → double
The distance to the hit point in the axis opposite the
- mainAxisPosition → double
The distance in the AxisDirection from the edge of the sliver's painted
area (as given by the SliverConstraints.scrollOffset) to the hit point.
This can be an unusual direction, for example in the AxisDirection.up
case this is a distance from the bottom of the sliver's painted area.
- target → RenderSliver
The HitTestTarget encountered during the hit test.
- hashCode → int
The hash code for this object. [...]
- runtimeType → Type
A representation of the runtime type of the object.
- transform → Matrix4
Returns a matrix describing how PointerEvents delivered to this
HitTestEntry should be transformed from the global coordinate space of
the screen to the local coordinate space of target.