PrePoint constructor

const PrePoint({
  1. Duration timeStamp = Duration.zero,
  2. int pointer = 0,
  3. PointerDeviceKind kind = PointerDeviceKind.touch,
  4. int device = 0,
  5. Offset position = Offset.zero,
  6. Offset delta = Offset.zero,
  7. int buttons = kPrimaryButton,
  8. bool obscured = false,
  9. double pressure = 0,
  10. double pressureMin = 1,
  11. double pressureMax = 1,
  12. double distanceMax = 0,
  13. double distanceMin = 0,
  14. double size = 0,
  15. double radiusMajor = 0,
  16. double radiusMinor = 0,
  17. double radiusMin = 0,
  18. double radiusMax = 0,
  19. double orientation = 0,
  20. double tilt = 0,
  21. int platformData = 0,
  22. bool synthesized = false,
  23. int embedderId = 0,
  24. Offset localPosition = Offset.zero,
  25. Offset localDelta = Offset.zero,
})

Implementation

const PrePoint({
  this.timeStamp = Duration.zero,
  this.pointer = 0,
  this.kind = PointerDeviceKind.touch,
  this.device = 0,
  this.position = Offset.zero,
  this.delta = Offset.zero,
  this.buttons = kPrimaryButton,
  this.obscured = false,
  this.pressure = 0,
  this.pressureMin = 1,
  this.pressureMax = 1,
  this.distanceMax = 0,
  this.distanceMin = 0,
  this.size = 0,
  this.radiusMajor = 0,
  this.radiusMinor = 0,
  this.radiusMin = 0,
  this.radiusMax = 0,
  this.orientation = 0,
  this.tilt = 0,
  this.platformData = 0,
  this.synthesized = false,
  this.embedderId = 0,
  this.localPosition = Offset.zero,
  this.localDelta = Offset.zero,
});