GenericTransformUpdateDetails.fromPointerMove constructor

GenericTransformUpdateDetails.fromPointerMove(
  1. PointerMoveEvent details
)

Implementation

factory GenericTransformUpdateDetails.fromPointerMove(
    PointerMoveEvent details) {
  return GenericTransformUpdateDetails(
    focalPoint: details.position,
    localFocalPoint: details.localPosition,
    scale: 1.0,
    rotation: 0.0,
    kind: details.kind,
    buttons: details.buttons,
    pointerCount: 1,
  );
}