Touch constructor

const Touch({
  1. required int identifier,
  2. required EventTarget target,
  3. double clientX = 0,
  4. double clientY = 0,
  5. double screenX = 0,
  6. double screenY = 0,
  7. double pageX = 0,
  8. double pageY = 0,
  9. double radiusX = 0,
  10. double radiusY = 0,
  11. double rotationAngle = 0,
  12. double force = 0,
  13. double altitudeAngle = 0,
  14. double azimuthAngle = 0,
  15. TouchType touchType = TouchType.direct,
})

Implementation

const Touch({
  required this.identifier,
  required this.target,
  this.clientX = 0,
  this.clientY = 0,
  this.screenX = 0,
  this.screenY = 0,
  this.pageX = 0,
  this.pageY = 0,
  this.radiusX = 0,
  this.radiusY = 0,
  this.rotationAngle = 0,
  this.force = 0,
  this.altitudeAngle = 0,
  this.azimuthAngle = 0,
  this.touchType = TouchType.direct,
});