changeAllLine method

void changeAllLine(
  1. int pathIndex,
  2. DragUpdateDetails details
)

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();
}