i.
What You Need
To follow along with this book, you’ll need the following:
-
Xcode 12.2 or later. Xcode is the main development tool for iOS and is needed to build your Flutter app for iOS. You can download the latest version of Xcode from Apple’s developer site here: apple.co/2asi58y, or from the Mac App Store. Xcode 12.2 requires a Mac running macOS Catalina (10.15) or later.
Note: You also have the option of using Linux or Windows, but you will not be able to install Xcode or build apps for iOS on those platforms.
Note: Starting in April 2021, Apple will require apps submitted to the App Store to be developed using macOS Catalina (10.15) or later and Xcode 12 or later with the iOS 14 SDK.
-
Flutter SDK 1.22.6 or later. You can download the Flutter SDK from the official Flutter site at https://flutter.dev/docs/get-started/install/macos. Installing the Flutter SDK will also install the Dart SDK, which you need to compile the Dart code in your Flutter apps.
-
Android Studio 4.1.2 or later, available at https://developer.android.com/studio. This is the IDE in which you’ll develop the sample code in this book. It also includes the Android SDK and the build system for running Flutter apps on Android.
-
Flutter Plugin for Android Studio v53.1.1 or later, installed by going to Android Studio Preferences on macOS (or Settings on Windows/Linux) and choosing Plugins, then searching for “Flutter”.
You also have the option of using Visual Studio Code for your Flutter development environment instead of Android Studio. You will still need to install Android Studio in order to have access to the Android SDK and an Android emulator. If you choose to use Visual Studio Code, follow the instructions on the official Flutter site at https://flutter.dev/docs/get-started/editor?tab=vscode to get set up.
Chapter 1: “Getting Started“ will explain more about Flutter history and architecture. You’ll learn how to get started with the Flutter SDK. Then you’ll see how to use Android Studio and Xcode to build and run Flutter apps.