{"id":28390788,"url":"https://github.com/ishuprabhakar/flutter-modular-vs-code-extension","last_synced_at":"2025-06-28T08:31:53.496Z","repository":{"id":290946204,"uuid":"975045126","full_name":"IshuPrabhakar/flutter-modular-vs-code-extension","owner":"IshuPrabhakar","description":"Flutter Modular Folder Structure Generator","archived":false,"fork":false,"pushed_at":"2025-05-04T15:26:57.000Z","size":96,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-31T16:37:45.714Z","etag":null,"topics":["clean-architecture","flutter","gorouter","modular-architecture","riverpod","vscode","vscode-extension"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=IshuPrabhakar.flutter-modular-structure-generator","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IshuPrabhakar.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-29T17:38:19.000Z","updated_at":"2025-05-04T16:45:52.000Z","dependencies_parsed_at":"2025-05-01T14:34:47.239Z","dependency_job_id":null,"html_url":"https://github.com/IshuPrabhakar/flutter-modular-vs-code-extension","commit_stats":null,"previous_names":["ishuprabhakar/flutter-modular-vs-code-extension"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/IshuPrabhakar/flutter-modular-vs-code-extension","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IshuPrabhakar%2Fflutter-modular-vs-code-extension","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IshuPrabhakar%2Fflutter-modular-vs-code-extension/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IshuPrabhakar%2Fflutter-modular-vs-code-extension/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IshuPrabhakar%2Fflutter-modular-vs-code-extension/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IshuPrabhakar","download_url":"https://codeload.github.com/IshuPrabhakar/flutter-modular-vs-code-extension/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IshuPrabhakar%2Fflutter-modular-vs-code-extension/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262400589,"owners_count":23305319,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["clean-architecture","flutter","gorouter","modular-architecture","riverpod","vscode","vscode-extension"],"created_at":"2025-05-31T06:12:24.219Z","updated_at":"2025-06-28T08:31:53.490Z","avatar_url":"https://github.com/IshuPrabhakar.png","language":"TypeScript","readme":"## 📦 Flutter Modular Structure Generator\n\nA Visual Studio Code extension that generates a modular folder structure for Flutter projects using **Riverpod** and **GoRouter**, following clean architecture principles.\n\n---\n\n### ✨ Features\n\n* 📁 **Generate Base Flutter Project Structure**\n\n  * Creates a well-organized `lib/src` folder structure\n  * Sets up directories for app, routing, features, resources, and more\n  * Auto-generates essential Dart files like `main.dart`, `app.dart`, and `app_router.dart`\n  * Adds dependencies for `flutter_riverpod` and `go_router`\n\n* 🧩 **Generate a New Feature**\n\n  * Prompts for a feature name (e.g., `auth`, `home`)\n  * Creates clean architecture layers:\n\n    * `application/services`\n    * `data/`\n    * `domain/models`\n    * `ui/pages`, `widgets`, `states`, `controllers`\n  * Auto-generates a sample screen for the feature\n\n---\n\n### 🛠 Commands\n\n| Command ID                                   | Description                                    |\n| -------------------------------------------- | ---------------------------------------------- |\n| `flutter-modular.flutterDirStructure`        | Generate the full Flutter app folder structure |\n| `flutter-modular.flutterFeatureDirStructure` | Generate a folder structure for a new feature  |\n\n---\n\n### 🚀 Usage\n\n1. Open a Flutter project in VS Code.\n2. Press `Ctrl+Shift+P` (or `Cmd+Shift+P` on macOS).\n3. Run the command:\n\n   * **Generate Base Structure**: `Flutter Modular: Generate Project Structure`\n   * **Generate Feature**: `Flutter Modular: Generate Feature Folder Structure`\n4. For features, you'll be prompted to:\n\n   * Select the `lib/` folder\n   * Enter a feature name like `profile`, `settings`, etc.\n\n---\n\n### 📁 Example Output (Feature: `auth`)\n\n```\nlib/\n└── src/\n    └── features/\n        └── auth/\n            ├── application/services/\n            ├── data/repository/\n            ├── data/dtos/\n            ├── data/data_sources/\n            ├── domain/models/\n            └── ui/\n                ├── controllers/\n                ├── states/\n                ├── widgets/\n                └── pages/\n                    └── auth_screen.dart\n```\n\n---\n\n### 📦 Dependencies Added\n\n```yaml\nflutter_riverpod: ^2.6.1\ngo_router: ^15.1.1\n```\n\n---\n\n### ✅ Requirements\n\n* Flutter SDK\n* VS Code\n* Dart \u0026 Flutter extensions installed\n\n---\n\n### 💡 Future Ideas (Optional Enhancements)\n\n* Generate additional base files (controller, state, model)\n* User-defined dependency versions\n* Configuration via a `.flutter_modularrc` file\n* Add CLI support\n\n---\n\n### 🧑‍💻 Contributing\n\nPull requests, ideas, and issues are always welcome!\n\n### [YouTube link](https://youtu.be/kpER6ypTjeg)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fishuprabhakar%2Fflutter-modular-vs-code-extension","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fishuprabhakar%2Fflutter-modular-vs-code-extension","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fishuprabhakar%2Fflutter-modular-vs-code-extension/lists"}