概要
Flutterを試しに使ってみました。後で忘れないようメモ書きをまとめたものです。
Flutterについて
https://github.com/flutter/flutter
Flutter is Google’s SDK for crafting beautiful, fast user experiences for mobile, web, and desktop from a single codebase. Flutter works with existing code, is used by developers and organizations around the world, and is free and open source.

Quick Start
macOS install
https://docs.flutter.dev/get-started/install/macos
Xcodeは必須としていないようだが、推奨ということで、ここ からダウンロードしておきます。macOS 10.15.7 Catalinaが対応できる最新のXcodeのバージョンは12.4でした。
Get the Flutter SDK
$ cd /usr/local/share
$ wget https://storage.googleapis.com/flutter_infra_release/releases/stable/macos/flutter_macos_3.7.3-stable.zip
$ unzip flutter_macos_3.7.3-stable.zip
無事完了したら、~/.bashrcに以下を追加
# for flutter
export PATH="$PATH:/usr/local/share/flutter/bin"
Run flutter doctor
Run the following command to see if there are any dependencies you need to install to complete the setup (for verbose output, add the -v flag):
$ flutter doctor -v
Platform setup
iOS setup
Install Xcode
Flutter appsを開発するには、Xcodeインストール済のMacが必要です。
- Install the latest stable version of Xcode(ここで、
macOS Catalinaが対応可能な12.4を使う) Xcode command-line toolsをインストール$ xcode-select --install xcode-select: error: command line tools are already installed, use "Software Update" to install updatesコマンドラインはすでにインストール済だそうです。
To be continued…