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

elementary 封面
套件詳情v3.2.1

elementary

這是一個架構庫,主要目標是將程式碼依不同責任層進行分割,讓程式碼更清楚、簡單、易讀且容易測試。

AndroidiOSWebmacOSWindowsLinux
近 30 天下載
2330
喜歡數
189
Pub 分數
160

安裝套件

flutter pub add elementary

套件介紹

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

Elementary 是一個 Flutter 架構庫,旨在透過責任層來組織程式碼,促進清晰度、簡潔性和可測試性。它透過結構化模式強制分離關注點,讓應用程式更容易維護和擴展。透過將業務邏輯與 UI 解耦,它支援乾淨、易讀的程式碼庫,非常適合團隊合作與長期開發。該庫可無縫整合至所有主要平台的 Flutter 生態系統中。

適用情境

  • 建構可擴展的 Flutter 應用程式
  • 提高程式碼可維護性
  • 啟用更簡單的單元測試和小部件測試
  • 支援團隊協作開發工作流程
  • 建立模組化和可重複使用的元件

主要特色

  • 分層架構(UI、邏輯、資料)
  • 內建狀態管理
  • 易於測試的設計
  • 跨平台相容性
  • 關注點的清晰分離
  • 與現有 Flutter 項目輕鬆整合

適合對象

  • 尋求結構化應用架構的開發者
  • 重視程式碼品質和可測試性的團隊
  • 需要長期可維護性的項目
  • Flutter 初學者學習最佳實務
  • 大規模應用開發

使用建議

  • 需要理解架構模式
  • 可能增加初始設定開銷
  • 最適合中大型專案
  • 不適合非常簡單或一次性使用的應用
  • 除了核心範例之外,文件內容有限

原始 README

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

Flutter Elementary repository

Elementary Logo

Owner Pub Version Coverage Status Pub points Pub Likes Downloads Contributors License

Description

This repository is a home to packages and tools from the Elementary library family.

Package Version
elementary Pub Version
elementary_helper Pub Version
elementary_test Pub Version
elementary_cli Pub Version

Elementary Overview

Elementary is a simple and reliable way to build applications with MVVM in Flutter. Benefits of using Elementary include:

  • Maximum Flutter-like: You don't need to spend a lot of time learning the library if you are already familiar with the standard Flutter approaches.
  • Code separation by responsibility: Splitting code into different layers reduces coupling, making the code simpler and more readable.
  • High testability: All layers, from widgets to business logic, are highly testable.
  • Team efficiency: It boosts speed for teams consisting of more than one person, due to the easy sharing of independent task parts among team members.

Documentation

Learn more at our website with documentation.

Environment

To reduce the amount of boilerplate and manual work, Elementary offers a few options:

Examples

  • Country: A general example of how to use Elementary for development.

  • Elementary with Redux: An example of how to use Elementary with Redux.

  • Profile: An example demonstrating a feature that spans separate screens, and how to use Elementary with Bloc.

Maintainer

Maintainer avatar

Mikhail Zotyev

Contributors thanks

Big thanks to all these people, who put their effort into helping the project.

contributors

Special thanks to:

Dmitry Krutskikh, Konoshenko Vlad, and Denis Grafov for the early adoption and the first production feedback;

Alex Bukin for IDE plugins;

All members of the Surf Flutter Team for actively using and providing feedback.

Sponsorship & Support

Special sponsor of the project:

Surf

For all questions regarding sponsorship/collaboration connect with Mikhail Zotyev.

We appreciate any form of support, whether it's a financial donation, a public sharing, or a star on GitHub and a like on Pub. If you want to provide financial support, there are several ways you can do it:

Thank you for all your support!

所屬分類

原始碼儲存庫

使用此套件的專案

暫無相關資料。