Skip to content

Instantly share code, notes, and snippets.

@dbrax
Forked from bradtraversy/flutter_setup.md
Created July 25, 2021 14:55
Show Gist options
  • Save dbrax/367c189045a7e73d860c263abca07dfc to your computer and use it in GitHub Desktop.
Save dbrax/367c189045a7e73d860c263abca07dfc to your computer and use it in GitHub Desktop.
Flutter dev setup & notes

Flutter Setup & Notes

1. Download SDK

Download Flutter SDK, extract the "Flutter" folder and put somewhere on your machine https://flutter.dev/docs/get-started/install

2. Add path

Add path for 'location/flutter/bin'

3. Check dependencies

flutter doctor

4. Install Xcode (Mac)

https://developer.apple.com/xcode/

5. Configure Xcode command line tools (Mac)

sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
sudo xcodebuild -runFirstLaunch

6. Test iOS Simulator (Mac)

open -a Simulator

7. Install Android Studio

https://developer.android.com/studio

8. Install Flutter plugin

9. Create virtual device from AVD manager

10. Install VSCode Flutter extension

11. Create flutter app

flutter create my_app

12. Run Debugger in VSCode

You should now be setup to start editing the lib/main.dart file and build your app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment