搜索插件、代码仓与 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 项

源码仓库

使用此插件的项目

暂无相关数据。