GenericTransformStartDetails.fromPointerStart constructor

GenericTransformStartDetails.fromPointerStart(
  1. PointerPanZoomStartEvent details
)

Implementation

factory GenericTransformStartDetails.fromPointerStart(
    PointerPanZoomStartEvent details) {
  return GenericTransformStartDetails(
    focalPoint: details.position,
  );
}