PointerEvent.constructor constructor

PointerEvent.constructor({
  1. required String type,
  2. num? height,
  3. bool? isPrimary,
  4. int? pointerId,
  5. String? pointerType,
  6. num? pressure,
  7. num? tangentialPressure,
  8. int? tiltX,
  9. int? tiltY,
  10. int? twist,
  11. num? width,
  12. bool altKey = false,
  13. int button = 0,
  14. bool canBubble = true,
  15. bool cancelable = true,
  16. bool ctrlKey = false,
  17. int detail = 0,
  18. bool metaKey = false,
  19. bool shiftKey = false,
  20. EventTarget? relatedTarget,
  21. Object? view,
})

Implementation

PointerEvent.constructor({
  required String type,
  this.height,
  this.isPrimary,
  this.pointerId,
  this.pointerType,
  this.pressure,
  this.tangentialPressure,
  this.tiltX,
  this.tiltY,
  this.twist,
  this.width,
  bool altKey = false,
  int button = 0,
  bool canBubble = true,
  bool cancelable = true,
  bool ctrlKey = false,
  int detail = 0,
  bool metaKey = false,
  bool shiftKey = false,
  EventTarget? relatedTarget,
  Object? view,
}) : super._(
        type,
        view: view,
        detail: detail,
        button: button,
        canBubble: canBubble,
        cancelable: cancelable,
        ctrlKey: ctrlKey,
        altKey: altKey,
        shiftKey: shiftKey,
        metaKey: metaKey,
        relatedTarget: relatedTarget,
      );