arrowPointingLeft function

Path arrowPointingLeft(
  1. Path path,
  2. double contentWidth,
  3. double contentHeight,
  4. bool fitBellow,
  5. double distanceFromObject,
)

Implementation

Path arrowPointingLeft(Path path, double contentWidth, double contentHeight,
    bool fitBellow, double distanceFromObject) {
  if (fitBellow) {
    path.relativeQuadraticBezierTo(30, -30, 0, -distanceFromObject + 20);
  } else {
    path.relativeQuadraticBezierTo(30, 30, 0, distanceFromObject - 20);
  }

  return path;
}