TouchInit constructor
TouchInit({})
Implementation
factory TouchInit(
{required int identifier,
required EventTarget target,
double? clientX,
double? clientY,
double? screenX,
double? screenY,
double? pageX,
double? pageY,
double? radiusX,
double? radiusY,
double? rotationAngle,
double? force,
double? altitudeAngle,
double? azimuthAngle,
TouchType? touchType}) =>
TouchInit._(
identifier: identifier,
target: target,
clientX: clientX ?? 0,
clientY: clientY ?? 0,
screenX: screenX ?? 0,
screenY: screenY ?? 0,
pageX: pageX ?? 0,
pageY: pageY ?? 0,
radiusX: radiusX ?? 0,
radiusY: radiusY ?? 0,
rotationAngle: rotationAngle ?? 0,
force: force ?? 0,
altitudeAngle: altitudeAngle ?? 0,
azimuthAngle: azimuthAngle ?? 0,
touchType: touchType?.value ?? TouchType.direct.value);