Skip to content

Instantly share code, notes, and snippets.

@ohidurbappy
Forked from bradtraversy/flutter_setup.md
Created August 22, 2021 17:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ohidurbappy/316f9dd532a4529d8d3c1ced6887551f to your computer and use it in GitHub Desktop.
Save ohidurbappy/316f9dd532a4529d8d3c1ced6887551f 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