https://github.com/amanullahgit/flutter-getx-real-world-application
A comprehensive Flutter GetX Masterclass repository covering setup, state management, API integration, and more with real-world examples.
https://github.com/amanullahgit/flutter-getx-real-world-application
flutter flutter-app flutter-course flutter-getx flutter-tutorial getx
Last synced: 19 days ago
JSON representation
A comprehensive Flutter GetX Masterclass repository covering setup, state management, API integration, and more with real-world examples.
- Host: GitHub
- URL: https://github.com/amanullahgit/flutter-getx-real-world-application
- Owner: Amanullahgit
- Created: 2024-10-08T10:09:37.000Z (over 1 year ago)
- Default Branch: Chapter-1
- Last Pushed: 2024-10-17T16:58:12.000Z (over 1 year ago)
- Last Synced: 2025-02-25T08:44:50.121Z (over 1 year ago)
- Topics: flutter, flutter-app, flutter-course, flutter-getx, flutter-tutorial, getx
- Language: C++
- Homepage: https://youtu.be/X7EjiQEmrBI
- Size: 318 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Flutter GetX Masterclass: Chapter 1 - Setting Up GetX in Your Flutter Project
This repository contains the code for **Chapter 1** of the Flutter GetX Masterclass. In this chapter, we cover the installation of GetX, setting up a scalable folder structure, and creating a simple product listing app with navigation to a product details page.
## πΉ Watch the Tutorial on YouTube
Follow the step-by-step tutorial in the video for a hands-on experience!
[](https://www.youtube.com/watch?v=X7EjiQEmrBI&t=36s)
π **[Watch the full tutorial on YouTube](https://www.youtube.com/watch?v=X7EjiQEmrBI)**
---
## π Chapter Overview
In this chapter, you'll learn:
1. How to install and set up GetX in a Flutter project.
2. How to structure your project for scalability using MVC principles.
3. How to create a product list and navigate to a product details page using GetX for routing.
---
## π Folder Structure
Hereβs the folder structure weβve set up in this chapter:
```
lib/
β
βββ app/
β βββ modules/
β β βββ product/
β β β βββ controllers/
β β β β βββ product_controller.dart
β β β βββ views/
β β β β βββ product_view.dart
β β β β βββ product_details_view.dart
β β β βββ models/
β β β βββ product_model.dart
β βββ routes/
β βββ app_pages.dart
β βββ app_routes.dart
βββ main.dart
```
---
## π§βπ» How to Run the App
1. Clone the repository:
```bash
git clone git clone -b Chapter-1 https://github.com/Amanullahgit/flutter-getx-real-world-application.git
```
2. Navigate to the project directory:
```bash
cd flutter-getx-real-world-application
```
3. Install dependencies:
```bash
flutter pub get
```
4. Run the app:
```bash
flutter run
```
---
Feel free to fork and contribute to this repository!
---
## π Useful Links
- **GetX Package**: [pub.dev/packages/get](https://pub.dev/packages/get)
- **Flutter Documentation**: [flutter.dev/docs](https://flutter.dev/docs)
---
Happy Coding! π