Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>forezyy-fcaNew to Visual Studio Code? Get it now.
forezyy-fca

forezyy-fca

Forezyy

|
39 installs
| (0) | Free
A Visual Studio Code extension that generates folder and file structures for Flutter projects following Clean Architecture principles, streamlining the setup process for scalable and maintainable applications.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Flutter Clean Architecture Generator

Overview

The Flutter Clean Architecture Generator is a Visual Studio Code extension that automates the creation of folder and file structures based on the Clean Architecture principles for Flutter projects. This tool aims to speed up the initial setup process by generating the essential layers and structure needed for a scalable and maintainable Flutter application.

Features

  • Automated Folder Structure: Instantly generate a standard Clean Architecture folder structure.
  • Pre-defined File Templates: Create essential files with boilerplate code such as repositories, use cases, data sources, and entities.
  • Configurable Structure: Customize the structure according to your project's needs.

Generated Structure

When using this extension, the following structure is generated:

├── lib/ │ ├── src/ │ | ├──core/ │ | ├── error/ │ │ └── failures.dart │ ├── usecases/ │ │ └── usecase.dart │ └── utils/ ├── features/ │ └── feature_name/ │ ├── data/ │ │ ├── datasources/ │ │ ├── models/ │ │ └── repositories/ │ ├── domain/ │ │ ├── entities/ │ │ ├── repositories/ │ │ └── usecases/ │ └── presentation/ │ ├── bloc/ │ ├── pages/ │ └── widgets/ └── main.dart

Core

  • Error: Contains error and exception handling classes.
  • Usecases: General use case interfaces and base classes.
  • Utils: Utility classes and functions.

Features

  • Data: Contains data sources, models, and repositories for the feature.
  • Domain: Holds entities, repositories, and use cases specific to the feature.
  • Presentation: Manages the UI, including BLoC files, pages, and widgets.

How to Use

  1. Install the Extension: Search for "Flutter Clean Architecture Generator" in the VS Code marketplace and install it.

  2. Open Command Palette: Press Ctrl + Shift + P (or Cmd + Shift + P on macOS) to open the Command Palette.

  3. Generate Structure: Type Generate Flutter Clean Architecture Structure and select the command.

  4. Follow Prompts: Enter the feature name or any additional settings as prompted.

  5. Done!: The folder and file structure will be generated in your lib/src/ directory.

Customization

You can customize the generated structure by editing the template files provided within the extension settings. This allows you to tailor the architecture to your specific needs or preferences.

Contributing

Contributions are welcome! Feel free to open issues or submit pull requests to improve the extension.

Contact

For any issues, suggestions, or contributions, please contact Arif Iskandar.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft