If you want to get rid of the Dashboard on your Mac running macOS Mojave or earlier, you can do so in System Preferences.
In macOS, the Hot Corners feature turns each of the four corners of your screen into a designated action, allowing you to quickly access certain functions built into the system, such as Mission ...