搜尋套件、儲存庫與 APP 分類

套件詳情v0.0.7

clean_architecture_scaffold

可根據乾淨架構建立資料夾的套件。

AndroidiOSWebmacOSWindowsLinux
近 30 天下載
99
喜歡數
10
Pub 分數
160

安裝套件

flutter pub add clean_architecture_scaffold

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

一個 Flutter 套件,可自動依照清潔架構原則建立專案資料夾。它協助開發者透過為呈現層、領域層與資料層等結構化目錄來組織程式碼庫,促進可維護性與可擴展性。此套件設計用於透過在多個平台產生一致的目錄結構,簡化初始專案設定。它支援所有主要的 Flutter 平台,並可透過 pub add 命令輕鬆整合。

適用情境

  • 初始項目設定,採用乾淨架構
  • 強制執行一致的資料夾結構
  • 改進大型專案中的團隊協作
  • 自動化樣板目錄建立
  • 支援可擴充的應用開發

主要特色

  • 產生乾淨架構資料夾結構
  • 跨平台支援(Android、iOS、Web、macOS、Windows、Linux)
  • 透過 flutter pub add 實現簡單的 CLI 結合
  • 可擴展以進行自訂設定
  • 所需設定最少

適合對象

  • Flutter 團隊採用乾淨架構
  • 尋求有組織項目結構的開發人員
  • 需要長期可維護性的項目
  • 新 Flutter 專案,旨在遵循最佳實務
  • 正在開發大型應用程式的團隊

使用建議

  • 不產生程式碼檔案,僅產生資料夾
  • 需要手動實現業務邏輯
  • 在不修改來源的情況下,自訂功能有限
  • 在早期開發階段使用效果最佳
  • 不適用於未重構的現有專案

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

Clean Architecture Scaffold for Flutter

Easily scaffold folders based on the Clean Architecture in your Flutter project with this package. Reduce boilerplate and ensure consistent directory structure across your features.

Features

  • Automatically generate a standardized folder structure for Clean Architecture.
  • Reduce the repetitive task of creating folders manually.
  • Ensure consistency across different features or modules.

Installation

Add the package to your pubspec.yaml:

dependencies:
  clean_architecture_scaffold: ^0.0.7

Usage

Use the command after installation to generate the folder structure for your feature:

dart run clean_architecture_scaffold:main -f FEATURE_NAME

This reduces boilerplate code and ensures you have the correct directory structure set up for implementing features using Clean Architecture.

Contributing

We welcome contributions to clean_architecture_scaffold! If you have a feature suggestion, bug report, or wish to contribute code:

  1. Check out our repository: clean_architecture_scaffold.
  2. Create a new pull request or open an issue.

Thank you for supporting and using clean_architecture_scaffold!

所屬分類

依賴

依賴清單 1 項

原始碼儲存庫

使用此套件的專案

暫無相關資料。