addDot method

void addDot(
  1. Offset offset
)

Implementation

void addDot(Offset offset) {
  if (_lines.isEmpty) {
    return;
  }
  _lines[_selectPathIndex].line.add(offset);
  notifyListeners();
}