PointerEventInit constructor
PointerEventInit({})
Implementation
factory PointerEventInit(
{int? pointerId,
double? width,
double? height,
double? pressure,
double? tangentialPressure,
int? tiltX,
int? tiltY,
int? twist,
double? altitudeAngle,
double? azimuthAngle,
String? pointerType,
bool? isPrimary,
Iterable<PointerEvent>? coalescedEvents,
Iterable<PointerEvent>? predictedEvents}) =>
PointerEventInit._(
pointerId: pointerId ?? 0,
width: width ?? 1,
height: height ?? 1,
pressure: pressure ?? 0,
tangentialPressure: tangentialPressure ?? 0,
tiltX: tiltX ?? undefined,
tiltY: tiltY ?? undefined,
twist: twist ?? 0,
altitudeAngle: altitudeAngle ?? undefined,
azimuthAngle: azimuthAngle ?? undefined,
pointerType: pointerType ?? '',
isPrimary: isPrimary ?? false,
coalescedEvents: coalescedEvents ?? const [],
predictedEvents: predictedEvents ?? const []);