PointerEvent class Null safety

Inheritance
Annotations
  • @Native("PointerEvent")

Constructors

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

Properties

altKey → bool
read-only, inherited
bubbles → bool?
read-only, inherited
button → int
read-only, inherited
buttons → int?
read-only, inherited
cancelable → bool?
read-only, inherited
client → Point<num>
read-only, inherited
composed → bool?
read-only, inherited
ctrlKey → bool
read-only, inherited
currentTarget → EventTarget?
read-only, inherited
dataTransfer → DataTransfer
read-only, inherited
defaultPrevented → bool
read-only, inherited
detail → int?
read-only, inherited
eventPhase → int
read-only, inherited
fromElement → Node?
The nonstandard way to access the element that the mouse comes from in the case of a mouseover event.
read-only, inherited
hashCode → int
The hash code for this object.
read-only, inherited
height → num?
read-only
isPrimary → bool?
read-only
isTrusted → bool?
read-only, inherited
layer → Point<num>
read-only, inherited
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-only, inherited
metaKey → bool
read-only, inherited
movement → Point<num>
@SupportedBrowser(SupportedBrowser.CHROME), @SupportedBrowser(SupportedBrowser.FIREFOX), read-only, inherited
offset → Point<num>
The coordinates of the mouse pointer in target node coordinates.
read-only, inherited
page → Point<num>
read-only, inherited
path → List<EventTarget>
read-only, inherited
pointerId → int?
read-only
pointerType → String?
read-only
pressure → num?
read-only
region → String?
read-only, inherited
relatedTarget → EventTarget?
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
screen → Point<num>
read-only, inherited
shiftKey → bool
read-only, inherited
sourceCapabilities → InputDeviceCapabilities?
read-only, inherited
tangentialPressure → num?
read-only
target → EventTarget?
read-only, inherited
tiltX → int?
read-only
tiltY → int?
read-only
timeStamp → num?
read-only, inherited
toElement → Node?
The nonstandard way to access the element that the mouse goes to in the case of a mouseout event.
read-only, inherited
twist → int?
read-only
type → String
read-only, inherited
view → WindowBase?
read-only, inherited
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