startDraw method
Starts a new drawing stroke at the given startPoint
.
Implementation
void startDraw(Offset startPoint) {
_history.putIfAbsent(_currentPage, () => []);
_undoStack.putIfAbsent(_currentPage, () => []);
_history[_currentPage]!.add(SimpleLine(startPoint, _currentColor));
notifyListeners();
}