deleteSelectedTool method
void
deleteSelectedTool()
Implementation
void deleteSelectedTool() {
if (_selectedTool != null) {
_tools.remove(_selectedTool);
_selectedTool = null;
onToolSelected?.call(null);
_notifyToolsChanged();
}
}