I am able to draw a straight line in flutter using two offset points. I use the following one to achieve this:
canvas.drawLine(lines[i].path[j], lines[i].path[j + 1], paint);
I am struggling to find a way to draw a little arrow head at the end of this line. I need some help with the math here please. My mind is sure it can be done