TouchEvent class Null safety

Inheritance
Annotations
  • @Native("TouchEvent")

Constructors

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

Properties

altKey bool?
read-only
bubbles bool?
read-onlyinherited
cancelable bool?
read-onlyinherited
changedTouches TouchList?
read-only
composed bool?
read-onlyinherited
ctrlKey bool?
read-only
currentTarget EventTarget?
read-onlyinherited
defaultPrevented bool
read-onlyinherited
detail int?
read-onlyinherited
eventPhase int
read-onlyinherited
hashCode int
The hash code for this object.
read-onlyinherited
isTrusted bool?
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-only
path List<EventTarget>
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
shiftKey bool?
read-only
sourceCapabilities InputDeviceCapabilities?
read-onlyinherited
target EventTarget?
read-onlyinherited
targetTouches TouchList?
read-only
timeStamp num?
read-onlyinherited
touches TouchList?
read-only
type String
read-onlyinherited
view WindowBase?
read-onlyinherited

Methods

composedPath() List<EventTarget>
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
Checks if touch events supported on the current platform.
read-only