OK so straight to the point in flutter in order to draw a line we have to define offset points and as a dummy i cant understand how they work. I know that the offset displaces the drawn line but how am I suppose to know what values should I pass. For example the code below :
'''canvas.drawLine(Offset(265, -120), Offset(size.width+60, size.width-280), paint1);
canvas.drawLine(Offset(200, -80), Offset(size.width+60, size.width-160), paint2);
canvas.drawLine(Offset(100, -40), Offset(size.width+60, size.width-40), paint3);
canvas.drawLine(Offset(0, 0), Offset(size.width+60, size.width+80), paint4);'''
I do not understand where are these points located on the device screen , so my question is how to calculate these points?