HitTestRequest class
A request to evaluate the content of a view at a specific position.
See also:
- PlatformDispatcher.onHitTest, the callback that the platform invokes to hit test a view at a specific position.
- HitTestResponse, the result of a hit test request.
Constructors
- HitTestRequest({required FlutterView view, required Offset offset})
-
Creates a hit test request.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- offset → Offset
-
The position in the view that should be hit tested.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- view → FlutterView
-
The view that should be hit tested.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited