A comprehensive collection of Flutter projects demonstrating various concepts, widgets, and best practices.
This playground contains the following Flutter projects:
- HelloFlutter/hello_flutter/ - Basic Flutter introduction
- 01-Flutter-Widgets/ - Core Flutter widgets and concepts
- 02-Flutter-UI-Components/ - Advanced UI components and layouts
- 03-Flutter-Design-Animations/ - Design patterns and animations
- 04-Flutter-Forms-Gestures/ - Form handling and gesture recognition
- 05-Flutter-Navigation-Routing/ - Navigation and routing patterns
- 06-Flutter-Accessing-Device/ - Device features and platform integration
- 07-Flutter-Advanced-Concepts/ - Advanced Flutter concepts and patterns
This project includes a GNU Make build tool to automate Flutter commands across all projects.
- Flutter SDK installed and configured
- GNU Make (usually pre-installed on macOS/Linux)
# See all available commands
make help
# Run all commands for all projects
make all
# Check Flutter installation across all projects
make doctormake all- Run all commands for all projectsmake doctor- Runflutter doctor -vfor all projectsmake pub-get- Get dependencies for all projectsmake analyze- Analyze all projectsmake test- Run tests for all projectsmake build-android- Build Android APK for all projectsmake build-ios- Build iOS for all projects (debug, no codesign)make clean- Clean all projects
make hello-flutter- Run all commands for HelloFlutter projectmake project-01- Run all commands for 01-Flutter-Widgetsmake project-02- Run all commands for 02-Flutter-UI-Componentsmake project-03- Run all commands for 03-Flutter-Design-Animationsmake project-04- Run all commands for 04-Flutter-Forms-Gesturesmake project-05- Run all commands for 05-Flutter-Navigation-Routingmake project-06- Run all commands for 06-Flutter-Accessing-Devicemake project-07- Run all commands for 07-Flutter-Advanced-Concepts
# Check Flutter installation and dependencies
make doctor
# Get dependencies for all projects
make pub-get
# Analyze code quality across all projects
make analyze
# Run tests for all projects
make test
# Build Android APKs for all projects
make build-android
# Build iOS apps for all projects (debug mode)
make build-ios
# Run all commands for a specific project
make project-01
# Clean all build artifacts
make cleanflutter doctor -v- Checks Flutter installation and dependenciesflutter pub get- Downloads and installs project dependenciesflutter analyze- Performs static analysis and lintingflutter test- Runs unit and widget testsflutter build apk --release- Builds optimized Android APKflutter build ios --debug --no-codesign- Builds iOS app in debug mode without code signing
- 🎨 Colored output - Easy to read with color-coded messages
- 📁 Automatic navigation - Changes to each project directory automatically
- ⚡ Parallel processing - Efficient execution across multiple projects
- 🔄 Error handling - Continues to next project if one fails
- 📋 Help system - Comprehensive help with
make help
- Clone this repository
- Ensure Flutter is installed and configured
- Run
make helpto see available commands - Start with
make doctorto check your setup - Use
make allto run all commands for all projects
Each project contains its own documentation and examples. Check the individual project folders for detailed information about specific concepts and implementations.
Feel free to contribute by adding new projects, improving existing ones, or enhancing the build tool.
This project is licensed under the MIT License - see the LICENSE file for details.