PointerEvent.constructor constructor
PointerEvent.constructor({
- required String type,
- num? height,
- bool? isPrimary,
- int? pointerId,
- String? pointerType,
- num? pressure,
- num? tangentialPressure,
- int? tiltX,
- int? tiltY,
- int? twist,
- num? 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,
- 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,
);