PointerRemovedEvent constructor Null safety

const PointerRemovedEvent(
  1. {Duration timeStamp = Duration.zero,
  2. int pointer = 0,
  3. PointerDeviceKind kind = PointerDeviceKind.touch,
  4. int device = 0,
  5. Offset position = Offset.zero,
  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. PointerRemovedEvent? original,
  13. int embedderId = 0}
)

Creates a pointer removed event.

All of the arguments must be non-null.

Implementation

const PointerRemovedEvent({
  super.timeStamp,
  super.pointer,
  super.kind,
  super.device,
  super.position,
  super.obscured,
  super.pressureMin,
  super.pressureMax,
  super.distanceMax,
  super.radiusMin,
  super.radiusMax,
  PointerRemovedEvent? super.original,
  super.embedderId,
}) : super(
       pressure: 0.0,
     );