changeAllLine method
Implementation
void changeAllLine(int pathIndex, DragUpdateDetails details) {
_lines[pathIndex].line = _lines[pathIndex].line
.map((m) => Offset(m.dx + details.delta.dx, m.dy + details.delta.dy))
.toList();
notifyListeners();
}