PointerRemovedEvent constructor

const PointerRemovedEvent(
  1. {Duration timeStamp: Duration.zero,
  2. PointerDeviceKind kind: PointerDeviceKind.touch,
  3. int device: 0,
  4. Offset position: Offset.zero,
  5. Offset localPosition,
  6. bool obscured: false,
  7. double pressureMin: 1.0,
  8. double pressureMax: 1.0,
  9. double distanceMax: 0.0,
  10. double radiusMin: 0.0,
  11. double radiusMax: 0.0,
  12. Matrix4 transform,
  13. PointerRemovedEvent original}
)

Creates a pointer removed event.

All of the arguments must be non-null.

Implementation

const PointerRemovedEvent({
  Duration timeStamp = Duration.zero,
  PointerDeviceKind kind = PointerDeviceKind.touch,
  int device = 0,
  Offset position = Offset.zero,
  Offset localPosition,
  bool obscured = false,
  double pressureMin = 1.0,
  double pressureMax = 1.0,
  double distanceMax = 0.0,
  double radiusMin = 0.0,
  double radiusMax = 0.0,
  Matrix4 transform,
  PointerRemovedEvent original,
}) : super(
       timeStamp: timeStamp,
       kind: kind,
       device: device,
       position: position,
       localPosition: localPosition,
       obscured: obscured,
       pressure: 0.0,
       pressureMin: pressureMin,
       pressureMax: pressureMax,
       distanceMax: distanceMax,
       radiusMin: radiusMin,
       radiusMax: radiusMax,
       transform: transform,
       original: original,
     );