The device is no longer tracking the pointer.
For example, the pointer might have drifted out of the device's hover detection range or might have been disconnected from the system entirely.
- Inheritance
- Object
- PointerEvent
- PointerRemovedEvent
Constructors
- PointerRemovedEvent({Duration timeStamp: Duration.ZERO, PointerDeviceKind kind: PointerDeviceKind.touch, int device: 0, bool obscured: false, double pressureMin: 1.0, double pressureMax: 1.0, double distanceMax: 0.0, double radiusMin: 0.0, double radiusMax: 0.0 })
-
Creates a pointer removed event.
const
Properties
-
Bit field using the *Button constants (primaryMouseButton, secondaryStylusButton, etc). For example, if this has the value 6 and the kind is PointerDeviceKind.invertedStylus, then this indicates an upside-down stylus with both its primary and secondary buttons pressed.
read-only, inherited - delta → Offset
-
Distance in logical pixels that the pointer moved since the last PointerMoveEvent. Always 0.0 for down, up, and cancel events.
read-only, inherited - device → int
-
Unique identifier for the pointing device, reused across interactions.
read-only, inherited - distance → double
-
The distance of the detected object from the input surface (e.g. the distance of a stylus or finger from a touch screen), in arbitrary units on an arbitrary (not necessarily linear) scale. If the pointer is down, this is 0.0 by definition.
read-only, inherited - distanceMax → double
-
The maximum value that a distance can return for this pointer. If this input device cannot detect "hover touch" input events, then this will be 0.0.
read-only, inherited - distanceMin → double
-
The minimum value that a distance can return for this pointer (always 0.0).
read-only, inherited - down → bool
-
Set if the pointer is currently down. For touch and stylus pointers, this means the object (finger, pen) is in contact with the input surface. For mice, it means a button is pressed.
read-only, inherited - hashCode → int
-
Get a hash code for this object.
read-only, inherited - kind → PointerDeviceKind
-
The kind of input device for which the event was generated.
read-only, inherited - obscured → bool
-
Set if an application from a different security domain is in any way obscuring this application's window. (Aspirational; not currently implemented.)
read-only, inherited - orientation → double
-
For PointerDeviceKind.touch events:
read-only, inherited - pointer → int
-
Unique identifier for the pointer, not reused.
read-only, inherited - position → Point
-
Coordinate of the position of the pointer, in logical pixels in the global coordinate space.
read-only, inherited - pressure → double
-
The pressure of the touch as a number ranging from 0.0, indicating a touch with no discernible pressure, to 1.0, indicating a touch with "normal" pressure, and possibly beyond, indicating a stronger touch. For devices that do not detect pressure (e.g. mice), returns 1.0.
read-only, inherited - pressureMax → double
-
The maximum value that pressure can return for this pointer. For devices that do not detect pressure (e.g. mice), returns 1.0. This will always be a greater than or equal to 1.0.
read-only, inherited - pressureMin → double
-
The minimum value that pressure can return for this pointer. For devices that do not detect pressure (e.g. mice), returns 1.0. This will always be a number less than or equal to 1.0.
read-only, inherited - radiusMajor → double
-
The radius of the contact ellipse along the major axis, in logical pixels.
read-only, inherited - radiusMax → double
-
The minimum value that could be reported for radiusMajor and radiusMinor for this pointer, in logical pixels.
read-only, inherited - radiusMin → double
-
The minimum value that could be reported for radiusMajor and radiusMinor for this pointer, in logical pixels.
read-only, inherited - radiusMinor → double
-
The radius of the contact ellipse along the minor axis, in logical pixels.
read-only, inherited - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited - tilt → double
-
For PointerDeviceKind.stylus and PointerDeviceKind.invertedStylus events:
read-only, inherited - timeStamp → Duration
-
Time of event dispatch, relative to an arbitrary timeline.
read-only, inherited
Operators
-
operator ==(
other) → bool -
The equality operator.
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