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

套件詳情v2.0.0

flutter_automation

一個 Flutter 套件,提供各種自動化腳本,協助您處理 Flutter 專案。

AndroidiOSmacOSWindowsLinux
近 30 天下載
303
喜歡數
142
Pub 分數
130

安裝套件

flutter pub add flutter_automation

套件介紹

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

flutter_automation 是一個專為 Flutter 項目設計的套件,旨在透過提供一組自動化腳本來簡化開發流程。它幫助開發者節省時間,自動執行程式碼格式化、依賴管理以及測試工作流程等重複性任務。此套件適用於跨平台專案,支援 Android、iOS、macOS、Windows 與 Linux。它與 Flutter 的 pub 系統無縫整合,非常適合希望標準化開發流程的團隊。其開源性質鼓勵社群貢獻與自訂。

適用情境

  • 自動化代碼格式化
  • 優化 CI/CD 流水線
  • 簡化依賴項更新
  • 批量執行測試
  • 標準化專案設定

主要特色

  • 預定義的自動化腳本
  • 跨平台支援
  • 透過 pub 實現輕鬆整合
  • 開源且可擴展
  • 支援多種作業系統環境

適合對象

  • 開發團隊
  • CI/CD 工程師
  • Flutter 初學者
  • 專案維護者
  • 自動化愛好者

使用建議

  • 需要了解 shell 腳本
  • 可能需要為複雜的工作流程進行客製化
  • 依賴外部工具
  • 不適合簡單的單次任務
  • 最適合在團隊或大型專案中使用

原始 README

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

Flutter Automation

This package contains various automation scripts that will help you automate various aspects of your flutter project.

Pub Package

Usage

To use this plugin, add flutter_automation as a dependency in your pubspec.yaml file.

Running scripts

From terminal in your flutter project run,

flutter pub pub run flutter_automation --firebase-auth --google-maps --android-sign --firestore-crud
1. Firebase Auth

This sets up firebase authentication with google and email based login automatically in your flutter project. Also copies boilerplate login ui flow using provider package for state management

flutter pub pub run flutter_automation --firebase-auth
2. Google Maps

sets up google maps flutter plugin on android platform in a flutter project.

After you run the script in your flutter project you need to modify android/app/src/main/res/values/strings.xml file changing the text YOUR_API_KEY to your actual google maps Api key.

flutter pub pub run flutter_automation --google-maps
3. Android Signing

Generates keystore and sets up android signing config in your flutter project.

It uses keytool to generate keystore so, for this script to work keytool must be in path.

flutter pub pub run flutter_automation --android-sign
4. Firestore CRUD

Provides a simple firestore CRUD operation boilerplate

flutter pub pub run flutter_automation --firestore-crud

所屬分類

依賴

依賴清單 3 項

原始碼儲存庫

使用此套件的專案

暫無相關資料。