TouchList class

A list of contact points on a touch surface. For example, if the user has three fingers on the touch surface (such as a screen or trackpad), the corresponding TouchList object would have one Touch object for each finger, for a total of three entries.

MDN Reference

Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

TouchList()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
item Touch? Function(num)

Available on TouchList, provided by the TouchList$Typings extension

getter/setter pair
length num

Available on TouchList, provided by the TouchList$Typings extension

MDN Reference
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](num index) Touch

Available on TouchList, provided by the TouchList$Typings extension

operator []=(num index, Touch value) → void

Available on TouchList, provided by the TouchList$Typings extension