- Flutter SDK 3.0+ (Download)
- Dart SDK (comes with Flutter)
- Android Studio / VS Code
- Android device or emulator
# Extract Flutter SDK
# Add to PATH environment variable
# Run doctor to check setup
flutter doctor# Install using Homebrew
brew install flutter
# Or download and add to PATH
export PATH="$PATH:~/flutter/bin"
flutter doctor# Download Flutter
wget https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_*.tar.xz
# Extract and add to PATH
export PATH="$PATH:~/flutter/bin"
flutter doctorgit clone <project-url>
cd student_management_systemflutter create student_management_system
cd student_management_system-
Copy pubspec.yaml to your project root
-
Create directory structure:
lib/ ├── main.dart ├── models/ │ └── student.dart ├── services/ │ └── database_service.dart └── screens/ ├── home_screen.dart ├── students_list_screen.dart ├── add_student_screen.dart └── student_detail_screen.dart -
Copy all .dart files to respective directories
cd student_management_system
flutter pub getThis will download and install:
- sqflite (SQLite database)
- provider (state management)
- intl (date formatting)
- And other dependencies
# List available emulators
flutter emulators
# Launch emulator
flutter emulators --launch <emulator-name>
# Run app
flutter run# Enable USB Debugging on your Android device
# Connect via USB
# Verify connection
flutter devices
# Run app
flutter runflutter build apk --debug
# Output: build/app/outputs/flutter-apk/app-debug.apkflutter build apk --release
# Output: build/app/outputs/flutter-apk/app-release.apkflutter build appbundle --release
# Output: build/app/outputs/bundle/release/app-release.aab- Flutter SDK installed and PATH set
- Android SDK configured
- Emulator or device ready
- All project files in correct directories
-
flutter pub getcompleted - No errors in
flutter doctor - App runs without errors
- Can add/view/edit students
Solution: Add Flutter to PATH
export PATH="$PATH:$(pwd)/flutter/bin"Solution: Set ANDROID_HOME
export ANDROID_HOME=~/Android/Sdk
export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-toolsSolution:
- Connect device and enable USB debugging
- Or launch emulator first
Solution: Clean and rebuild
flutter clean
flutter pub get
flutter runSolution:
cd android
./gradlew clean
cd ..
flutter runstudent_management_system/
├── lib/ # All Dart code
│ ├── main.dart # App entry point
│ ├── models/ # Data models
│ │ └── student.dart
│ ├── services/ # Business logic
│ │ └── database_service.dart
│ └── screens/ # UI screens
│ ├── home_screen.dart
│ ├── students_list_screen.dart
│ ├── add_student_screen.dart
│ └── student_detail_screen.dart
├── android/ # Android native code
├── ios/ # iOS native code (if needed)
├── pubspec.yaml # Dependencies
├── pubspec.lock # Lock file
└── README.md # Documentation
# Make code changes
# Press 'r' in terminal to hot reload
# Changes appear instantly# For state changes or dependencies
# Press 'R' in terminal# Run with verbose logging
flutter run -v- Add Student: Fill form and save
- View Students: Check dashboard and list
- Search: Test search functionality
- Filter: Test class filtering
- Edit: Update student info
- Delete: Remove a student
- Stats: Verify GPA and attendance calculations
# Profile app performance
flutter run --profile
# Trace app performance
flutter run --trace-startup-
Create signing key:
keytool -genkey -v -keystore ~/key.jks -keyalg RSA -keysize 2048 -validity 10000 -alias key -
Configure signing in android/app/build.gradle
-
Build release APK/Bundle:
flutter build appbundle --release
-
Upload to Play Store:
- Sign up for Play Store Developer account
- Create new app
- Upload bundle
- Fill in app details
- Submit for review
- ✅ Complete Quick Start
- 📚 Read full README.md
- 🎨 Customize theme colors
- 📦 Add more features
- 🚀 Build and release
# Check Flutter setup
flutter doctor
# Get dependencies
flutter pub get
# Update dependencies
flutter pub upgrade
# Run tests
flutter test
# Format code
flutter format .
# Analyze code
flutter analyze
# Build and run
flutter run -v
# Stop running app
# Press Ctrl+C
# Clear build cache
flutter clean- Official Flutter: https://flutter.dev
- Dart Documentation: https://dart.dev
- Flutter Packages: https://pub.dev
- Material Design: https://material.io
- Check
flutter doctoroutput - Read error messages carefully
- Search Flutter documentation
- Check StackOverflow for similar issues
- File bug report if needed
Happy coding! 🚀