Minimal Flutter Template with Feature-Sliced Design
- 🎯 Feature-Sliced Design - Modular structure for maximum scalability
- 🔥 Multi-platform Support - Supports all platforms: Android, iOS, Web, Desktop
- 💡 Code Quality Management - Static analysis and code quality assurance through
flutter_lints
- Flutter ^3.35.1
- Dart ^3.9.0, DevTools ^2.48.0
- flutter_lints ^5.0.0 - Official Flutter lint rules
- flutter_test - Widget and unit testing
- Feature-Sliced Design (FSD)
fsd_flutter_template/
├── 📱 android/ # Android Platform
├── 🍎 ios/ # iOS Platform
├── 🌐 web/ # Web Platform
├── 🖥️ linux/ # Linux Platform
├── 🖥️ macos/ # macOS Platform
├── 🖥️ windows/ # Windows Platform
├── 📚 lib/ # Main source code
│ ├── 🚀 app/ # App-level (Routing, Theme...)
│ ├── 🏢 entities/ # Business entities
│ ├── ⭐ features/ # Feature modules (*single)
│ ├── 📄 pages/ # Page components
│ ├── 🔧 shared/ # Shared utilities and UI components
│ ├── 🧩 widgets/ # Reusable widgets or meaningful UI components
│ └── 🎯 main.dart # App entry point
├── 🧪 test/ # Test files
├── 📋 pubspec.yaml # Dependencies and project configuration
└── ⚙️ analysis_options.yaml # Code analysis configuration
# Check Flutter channel (stable recommended)
flutter channel stable
# Upgrade Flutter
flutter upgrade
# Update project dependencies
flutter pub upgrade
# Run in development mode (with Hot Reload)
flutter run
# Run on specific platform
flutter run -d chrome # Web
flutter run -d macos # macOS
flutter run -d windows # Windows
flutter run -d linux # Linux
# Run static analysis
flutter analyze
# Code formatting
dart format .
# Check lint rules
dart analyze --fatal-infos