TapDownEvent constructor
TapDownEvent(
- int pointerId,
- Game game,
- TapDownDetails details
Implementation
TapDownEvent(this.pointerId, super.game, TapDownDetails details)
: deviceKind = details.kind ?? PointerDeviceKind.unknown,
super(
devicePosition: details.globalPosition.toVector2(),
);