Installing the Flutter SDK
Before you can build anything, you need to download the Flutter SDK.
On the main Flutter website at https://docs.flutter.dev/get-started/install, you’ll find the prebuilt packages for Windows, macOS, Linux, or ChromeOS—the currently supported platforms to create Flutter apps.
Figure 1.1: The Flutter installation page
Once you select your operating system, whatever your choice, you will find a section called Get the Flutter SDK. Here, you will find a compressed file (.zip
for Windows and macOS, and .tar.gz
for Linux and ChromeOS).
You should then create a directory for the Flutter SDK, and extract the contents of the compressed file into that directory; for instance, this could be c:\dev\flutter
on a Windows machine or ~/development
on other platforms.
There is another tool, called FVM (Flutter Version Management), that allows managing multiple versions of Flutter SDKs on your development machine.
If...