Skip to content

A plugin for IntelliJ and Android Studio to generate the Clean-Architecture folder structure for a Flutter project.

License

Notifications You must be signed in to change notification settings

Tyxz/clean_architecture_plugin

Repository files navigation

Clean-Architecture Plugin

Generate the Clean-Architecture directory structure from Robert C. Martin (Uncle Bob) in your flutter projects. It is inspired by @ResoCoder Clean Architecture for Flutter Course.

How To Install

  • Android Studio / IntelliJ IDEA -> Plugins -> Browse repositories
  • Search: Clean Architecture for Flutter
  • Install
  • Restart IDE

How To Use

  • Right click on or anywhere in your destination folder
  • New -> Clean Generator -> Flutter
  • Enter [feature_name] in the dialog or let it be empty to create structure in current directory
  • Optional: Use the checkbox to split the data_sources folder into local and remote
Right-click Enter [feature_name] generated
context menu context menu context menu

What will be created

  • [feature_name]
    • data
      • [Two variants]
        • [Checkbox checked]
          • local
            • data_sources
            • models
          • remote
            • data_sources
            • models
        • [Checkbox unchecked]
          • data_sources
          • models
      • repositories
    • domain
      • entities
      • use_cases
      • repositories
    • presentation
      • manager
      • pages
      • widgets

Source

About

A plugin for IntelliJ and Android Studio to generate the Clean-Architecture folder structure for a Flutter project.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages