straightArrow function
Implementation
Path straightArrow(Path path, double contentWidth, double contentHeight,
bool fitBellow, double distanceFromObject) {
if (fitBellow) {
path.relativeQuadraticBezierTo(0, 0, 0, -distanceFromObject + 20);
} else {
path.relativeQuadraticBezierTo(0, 0, 0, distanceFromObject - 20);
}
return path;
}