PointerData constructor

const PointerData({Duration timeStamp: Duration.zero, PointerChange change: PointerChange.cancel, PointerDeviceKind kind: PointerDeviceKind.touch, int device: 0, double physicalX: 0.0, double physicalY: 0.0, int buttons: 0, bool obscured: false, double pressure: 0.0, double pressureMin: 0.0, double pressureMax: 0.0, double distance: 0.0, double distanceMax: 0.0, double size: 0.0, double radiusMajor: 0.0, double radiusMinor: 0.0, double radiusMin: 0.0, double radiusMax: 0.0, double orientation: 0.0, double tilt: 0.0, int platformData: 0 })

Creates an object that represents the state of a pointer.

Implementation

const PointerData({
  this.timeStamp: Duration.zero,
  this.change: PointerChange.cancel,
  this.kind: PointerDeviceKind.touch,
  this.device: 0,
  this.physicalX: 0.0,
  this.physicalY: 0.0,
  this.buttons: 0,
  this.obscured: 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,
});