selectTool method

void selectTool(
  1. String toolName
)

Select a tool by name.

Implementation

void selectTool(String toolName) {
  selectedToolName.value = toolName;
}