PointerCancelEvent class
The input from the pointer is no longer directed towards this receiver.
- Inheritance
- Object
- PointerEvent
- PointerCancelEvent
Constructors
- PointerCancelEvent({Duration timeStamp: Duration.zero, int pointer: 0, PointerDeviceKind kind: PointerDeviceKind.touch, int device: 0, Offset position: Offset.zero, int buttons: 0, bool obscured: false, double pressureMin: 1.0, double pressureMax: 1.0, double distance: 0.0, double distanceMax: 0.0, double size: 0.0, double radiusMajor: 0.0, double radiusMinor: 0.0, double radiusMin: 0.0, double radiusMax: 0.0, double orientation: 0.0, double tilt: 0.0 })
-
Creates a pointer cancel event. [...]
const
Properties
-
Bit field using the *Button constants such as kPrimaryMouseButton,
kSecondaryStylusButton, etc. [...]
final, inherited
- delta → Offset
-
Distance in logical pixels that the pointer moved since the last
PointerMoveEvent. [...]
final, inherited
- device → int
-
Unique identifier for the pointing device, reused across interactions.
final, inherited
- distance → double
-
The distance of the detected object from the input surface. [...]
final, inherited
- distanceMax → double
-
The maximum value that distance can return for this pointer. [...]
final, inherited
- distanceMin → double
-
The minimum value that distance can return for this pointer. [...]
read-only, inherited
- down → bool
-
Set if the pointer is currently down. [...]
final, inherited
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- kind → PointerDeviceKind
-
The kind of input device for which the event was generated.
final, inherited
- obscured → bool
-
Set if an application from a different security domain is in any way
obscuring this application's window. [...]
final, inherited
- orientation → double
-
The orientation angle of the detected object, in radians. [...]
final, inherited
- platformData → int
-
Opaque platform-specific data associated with the event.
final, inherited
- pointer → int
-
Unique identifier for the pointer, not reused.
final, inherited
- position → Offset
-
Coordinate of the position of the pointer, in logical pixels in the global
coordinate space.
final, inherited
- pressure → double
-
The pressure of the touch. [...]
final, inherited
- pressureMax → double
-
The maximum value that pressure can return for this pointer. [...]
final, inherited
- pressureMin → double
-
The minimum value that pressure can return for this pointer. [...]
final, inherited
- radiusMajor → double
-
The radius of the contact ellipse along the major axis, in logical pixels.
final, inherited
- radiusMax → double
-
The minimum value that could be reported for radiusMajor and radiusMinor
for this pointer, in logical pixels.
final, inherited
- radiusMin → double
-
The minimum value that could be reported for radiusMajor and radiusMinor
for this pointer, in logical pixels.
final, inherited
- radiusMinor → double
-
The radius of the contact ellipse along the minor axis, in logical pixels.
final, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- size → double
-
The area of the screen being pressed. [...]
final, inherited
- synthesized → bool
-
Set if the event was synthesized by Flutter. [...]
final, inherited
- tilt → double
-
The tilt angle of the detected object, in radians. [...]
final, inherited
- timeStamp → Duration
-
Time of event dispatch, relative to an arbitrary timeline.
final, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
-
toStringFull(
) → String -
Returns a complete textual description of this event.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited