getTargetEndOffset method
Implementation
Offset getTargetEndOffset(List<Size>? sizeList, int index) {
double width = 0;
double height = 0;
if (sizeList != null) {
for (int i = 0; i <= index; i++) {
width += sizeList[i].width;
height += sizeList[i].height;
}
}
return Offset(width, height);
}