drawing method
Updates the current drawing stroke with a new point.
Implementation
void drawing(Offset nowPaint) {
if (_history[_currentPage]?.isNotEmpty == true) {
_history[_currentPage]!.last.update(nowPaint);
notifyListeners();
}
}
Updates the current drawing stroke with a new point.
void drawing(Offset nowPaint) {
if (_history[_currentPage]?.isNotEmpty == true) {
_history[_currentPage]!.last.update(nowPaint);
notifyListeners();
}
}