PointerData constructor

const PointerData(
  1. {int viewId = 0,
  2. int embedderId = 0,
  3. Duration timeStamp = Duration.zero,
  4. PointerChange change = PointerChange.cancel,
  5. PointerDeviceKind kind = PointerDeviceKind.touch,
  6. PointerSignalKind? signalKind,
  7. int device = 0,
  8. int pointerIdentifier = 0,
  9. double physicalX = 0.0,
  10. double physicalY = 0.0,
  11. double physicalDeltaX = 0.0,
  12. double physicalDeltaY = 0.0,
  13. int buttons = 0,
  14. bool obscured = false,
  15. bool synthesized = false,
  16. double pressure = 0.0,
  17. double pressureMin = 0.0,
  18. double pressureMax = 0.0,
  19. double distance = 0.0,
  20. double distanceMax = 0.0,
  21. double size = 0.0,
  22. double radiusMajor = 0.0,
  23. double radiusMinor = 0.0,
  24. double radiusMin = 0.0,
  25. double radiusMax = 0.0,
  26. double orientation = 0.0,
  27. double tilt = 0.0,
  28. int platformData = 0,
  29. double scrollDeltaX = 0.0,
  30. double scrollDeltaY = 0.0,
  31. double panX = 0.0,
  32. double panY = 0.0,
  33. double panDeltaX = 0.0,
  34. double panDeltaY = 0.0,
  35. double scale = 0.0,
  36. double rotation = 0.0}
)

Creates an object that represents the state of a pointer.

Implementation

const PointerData({
  this.viewId = 0,
  this.embedderId = 0,
  this.timeStamp = Duration.zero,
  this.change = PointerChange.cancel,
  this.kind = PointerDeviceKind.touch,
  this.signalKind,
  this.device = 0,
  this.pointerIdentifier = 0,
  this.physicalX = 0.0,
  this.physicalY = 0.0,
  this.physicalDeltaX = 0.0,
  this.physicalDeltaY = 0.0,
  this.buttons = 0,
  this.obscured = false,
  this.synthesized = false,
  this.pressure = 0.0,
  this.pressureMin = 0.0,
  this.pressureMax = 0.0,
  this.distance = 0.0,
  this.distanceMax = 0.0,
  this.size = 0.0,
  this.radiusMajor = 0.0,
  this.radiusMinor = 0.0,
  this.radiusMin = 0.0,
  this.radiusMax = 0.0,
  this.orientation = 0.0,
  this.tilt = 0.0,
  this.platformData = 0,
  this.scrollDeltaX = 0.0,
  this.scrollDeltaY = 0.0,
  this.panX = 0.0,
  this.panY = 0.0,
  this.panDeltaX = 0.0,
  this.panDeltaY = 0.0,
  this.scale = 0.0,
  this.rotation = 0.0,
});