updateDrawingsList method
void
updateDrawingsList(
- dynamic newValue
Implementation
void updateDrawingsList(newValue){
_state.drawingsList.add({
'data': newValue,
'type': _state.selectedEditType,
'color': _state.selectedEditType == EditType.paint ? _state.selectedPaintColor : _state.selectedAddTextColor
});
notifyListeners();
}