TouchEvent.constructor constructor

TouchEvent.constructor(
  1. String type, {
  2. bool altKey = false,
  3. TouchList? changedTouches,
  4. bool ctrlKey = false,
  5. bool metaKey = false,
  6. bool shiftKey = false,
  7. TouchList? targetTouches,
  8. TouchList? touches,
})

Implementation

TouchEvent.constructor(
  super.type, {
  this.altKey = false,
  this.changedTouches,
  this.ctrlKey = false,
  this.metaKey = false,
  this.shiftKey = false,
  this.targetTouches,
  this.touches,
});