PointerEvent class Null safety

Inheritance
Annotations
  • @Native("PointerEvent")

Constructors

PointerEvent(String type, [Map? eventInitDict])
factory

Properties

altKey → bool
read-onlyinherited
bubbles → bool?
read-onlyinherited
button → int
read-onlyinherited
buttons → int?
read-onlyinherited
cancelable → bool?
read-onlyinherited
client → Point<num>
read-onlyinherited
composed → bool?
read-onlyinherited
ctrlKey → bool
read-onlyinherited
currentTarget → EventTarget?
read-onlyinherited
dataTransfer → DataTransfer
read-onlyinherited
defaultPrevented → bool
read-onlyinherited
detail → int?
read-onlyinherited
eventPhase → int
read-onlyinherited
fromElement → Node?
The nonstandard way to access the element that the mouse comes from in the case of a mouseover event.
read-onlyinherited
hashCode → int
The hash code for this object.
read-onlyinherited
height → num?
read-only
isPrimary → bool?
read-only
isTrusted → bool?
read-onlyinherited
layer → Point<num>
read-onlyinherited
matchingTarget → Element
A pointer to the element whose CSS selector matched within which an event was fired. If this Event was not associated with any Event delegation, accessing this value will throw an UnsupportedError.
read-onlyinherited
metaKey → bool
read-onlyinherited
movement → Point<num>
read-onlyinherited
offset → Point<num>
The coordinates of the mouse pointer in target node coordinates.
read-onlyinherited
page → Point<num>
read-onlyinherited
path → List<EventTarget>
read-onlyinherited
pointerId → int?
read-only
pointerType → String?
read-only
pressure → num?
read-only
region → String?
read-onlyinherited
relatedTarget → EventTarget?
read-onlyinherited
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
screen → Point<num>
read-onlyinherited
shiftKey → bool
read-onlyinherited
sourceCapabilities → InputDeviceCapabilities?
read-onlyinherited
tangentialPressure → num?
read-only
target → EventTarget?
read-onlyinherited
tiltX → int?
read-only
tiltY → int?
read-only
timeStamp → num?
read-onlyinherited
toElement → Node?
The nonstandard way to access the element that the mouse goes to in the case of a mouseout event.
read-onlyinherited
twist → int?
read-only
type → String
read-onlyinherited
view → WindowBase?
read-onlyinherited
width → num?
read-only

Methods

composedPath() → List<EventTarget>
inherited
getCoalescedEvents() → List<PointerEvent>
getModifierState(String keyArg) → bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
preventDefault() → void
inherited
stopImmediatePropagation() → void
inherited
stopPropagation() → void
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

supported → bool
PointerEvent used for both touch and mouse. To check if touch is supported call the property TouchEvent.supported
read-only