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

套件詳情v1.4.0

build_config

格式定義與解析 `build.yaml` 設定的支援。

AndroidiOSmacOSWindowsLinux
近 30 天下載
775萬
喜歡數
67
Pub 分數
150

安裝套件

flutter pub add build_config

套件介紹

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

build_config 套件提供格式定義與實用工具,用於解析 Dart 和 Flutter 專案中使用的 `build.yaml` 設定檔。它讓開發者能夠以程式化方式定義和管理建構設定,支援在不同環境中保持一致且結構化的建構設定。此套件是更廣泛的建構系統生態系的一部分,確保對建構設定的可靠解讀。對於依賴自訂或複雜建構邏輯的工具而言,這是不可或缺的。

適用情境

  • 在Flutter應用中定義建構目標
  • 跨環境管理建構設定
  • 與代碼生成工具整合
  • 支援自定建構邏輯
  • 啟用 CI/CD 流水線整合

主要特色

  • YAML 模式驗證
  • 類型安全的設定解析
  • 與 build_runner 的整合
  • 對多種建構環境的支援
  • 可擴展的設定結構

適合對象

  • 使用 build_runner 的 Dart/Flutter 開發人員
  • 工具作者建構自定義建構器
  • 管理複雜構建流水線的團隊
  • CI/CD 自動化工作流程

使用建議

  • 需要了解 build_runner 結構
  • 不打算直接用於最終用戶設定
  • 依賴於其他建構系統套件
  • 僅限於建構環境以外的獨立使用

原始 README

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

Questions? Suggestions? Found a bug? Please file an issue or start a discussion.

Code generation for Flutter and Dart packages.

See the build_runner package documentation for how to use build_runner builders in your package to add serialization, data classes, data binding, dependency injection, mocking and more.

See the build package documentation to create your own builder.

This repo also hosts the following builders and packages for use by builders.

所屬分類

依賴

依賴清單 4 項

原始碼儲存庫

使用此套件的專案