Tyxz / clean_architecture_plugin

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

Home Page:https://plugins.jetbrains.com/plugin/13470-clean-architecture-for-flutter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

https://plugins.jetbrains.com/plugin/13470-clean-architecture-for-flutter

License:MIT License


Languages

Language:Kotlin 100.0%