removeAllLayers method
void
removeAllLayers()
Remove all layers from the editor.
This method removes all layers from the editor and updates the editing state.
Implementation
void removeAllLayers() {
addHistory(layers: []);
setState(() {});
}