I have been looking on how to create my own gujrati learning app and thought, well why not learn something thatβs used in my office. And so I chose flutter. 
Now I was used to using vs code. So went and prompted gpt to help me set up flutter in vs code, and this is its response that worked well for me:
π Flutter Development with VS Code
-
β 1. Install Prerequisites
- ##### π¦ Flutter SDK
- Go to: https://docs.flutter.dev/get-started/install
- Download for your OS (Windows/Linux/macOS)
- Extract and add the
flutter/binfolder to your system PATH
To verify installation:
flutter --version
-
π» Install VS Code
- Download: https://code.visualstudio.com/
π§© Install Extensions in VS Code
1. Open VS Code
2. Go to Extensions (`Ctrl+Shift+X`)
3. Install these:
-
π± Install Android Studio (for Android SDK & Emulator)
- You donβt need to use Android Studio, but you do need its SDK + emulator
1. Install: [https://developer.android.com/studio](https://developer.android.com/studio)
2. During setup, **check** : Android SDK + Emulator
3. After install, open Android Studio > Preferences > SDK Manager
For emulator :
- Create one using AVD Manager inside Android Studio
- Or use a **real Android device** in developer mode + USB debugging
- #### βοΈ 2. Check Flutter Environment
Run:
flutter doctor
β It should show checkmarks for:
- Flutter
- Dart
- Android toolchain
- VS Code
- (iOS only if on macOS)
π 3. Create a New Flutter Project
In terminal or VS Code terminal:
flutter create my_app
cd my_app
code . ## opens the project in VS Code
- #### π¨βπ» 4. Run Your App
- Connect your Android device or start an emulator
- In terminal:
Or use F5 in VS Code to launch the debugger.
-
π 5. Start Coding
- Your main file:
lib/main.dart - Modify the default code or replace with your own UI
- Your main file:
-
π 6. Hot Reload / Restart
- Save file to see changes instantly ( hot reload )
- Use
rorRin terminal when app is running - Or use the Flutter toolbar in VS Code
π Optional: Android App Icon & Name
- Edit in
android/app/src/main/AndroidManifest.xml - Use package:
flutter_launcher_icons
Top comments (0)