learn Flutter with VS Code, step by step like a full course. I’ll guide you from installation → Hello World → real projects.
Flutter with VS Code – Roadmap
Step 1: Setup
- Install Flutter SDK → Download
- Add Flutter to
PATH
.flutter doctor
→ This checks setup. - Install VS Code → Download
- Install VS Code extensions:
- Flutter
- Dart
Now you can create and run apps.
Step 2: Create Your First Project
In VS Code terminal:
flutter create hello_world
cd hello_world
code .
Run on device/emulator:
flutter run
Step 3: Hello World App
Edit lib/main.dart
:
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
home: Scaffold(
appBar: AppBar(title: const Text("Flutter in VS Code")),
body: const Center(
child: Text(
"Hello World ",
style: TextStyle(fontSize: 28, fontWeight: FontWeight.bold),
),
),
),
);
}
}
Run → You’ll see Hello World .
Step 4: Learn Flutter Widgets
Widgets = building blocks of Flutter.
Text
,Container
,Row
,Column
→ UI basics.ListView
,GridView
→ scrollable views.Scaffold
→ page layout.
Step 5: Navigation
Switch between pages using:
Navigator.push(
context,
MaterialPageRoute(builder: (context) => SecondPage()),
);
Step 6: State Management
- Beginner:
setState()
- Intermediate: Provider
- Advanced: Riverpod / Bloc
Step 7: APIs & Storage
- Fetch data using
http
package. - Save data with
SharedPreferences
or local DB (sqflite
,hive
).
Step 8: Firebase & Deployment
- Firebase Auth, Firestore, Push Notifications.
- Publish to Play Store / App Store.