setPreviewDrawing method
Updates the live drawing preview while the user is actively drawing.
Implementation
void setPreviewDrawing(ChartDrawing? preview) {
_previewDrawing = preview;
notifyListeners();
}
Updates the live drawing preview while the user is actively drawing.
void setPreviewDrawing(ChartDrawing? preview) {
_previewDrawing = preview;
notifyListeners();
}