Closed VietNguyen392 closed 1 year ago
I ended up doing this. You can also call undo() while 'canUndo = true'.
Future undoAll() async { controller = PainterController(...); initBackground(backgroundImage!); }
I ended up doing this. You can also call undo() while 'canUndo = true'. Future undoAll() async { controller = PainterController(...); initBackground(backgroundImage!); }
litte late but thank for response
I ended up doing this. You can also call undo() while 'canUndo = true'.
Future undoAll() async {
controller = PainterController(...);
initBackground(backgroundImage!);
}