PointerData constructor
- {Duration timeStamp: Duration.zero,
- PointerChange change: PointerChange.cancel,
- PointerDeviceKind kind: PointerDeviceKind.touch,
- PointerSignalKind signalKind,
- int device: 0,
- int pointerIdentifier: 0,
- double physicalX: 0.0,
- double physicalY: 0.0,
- double physicalDeltaX: 0.0,
- double physicalDeltaY: 0.0,
- int buttons: 0,
- bool obscured: false,
- bool synthesized: 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,
- double scrollDeltaX: 0.0,
- double scrollDeltaY: 0.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.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,
});