DragStartEvent constructor

DragStartEvent(
  1. int pointerId,
  2. Game game,
  3. DragStartDetails details
)

Implementation

DragStartEvent(this.pointerId, super.game, DragStartDetails details)
    : deviceKind = details.kind ?? PointerDeviceKind.unknown,
      super(
        devicePosition: details.globalPosition.toVector2(),
      );