FLUTTER ECOSYSTEM

lohanidamodar/flutter_automation

一个用于 Flutter Firebase 认证、Android 签名、Google 地图等的自动化工具包,敬请期待

flutter_automation 项目封面
Stars
65
Forks
14
最近推送(UTC)
2021年6月18日
项目状态
未归档
Damodar Lohani GitHub avatar
GITHUB User

Damodar Lohani ↗

Flutter & Full-stack Consultant | Open source enthusiast ❤

@appwrite PopupBitsKathmandu, Nepal官方网站 ↗
语言Dart

技术话题

此仓库发布的插件

使用的依赖

依赖清单 5 项
  • flutter{"sdk":"flutter"}
  • args^2.1.1
  • yaml^3.1.0
  • http^0.13.3
  • flutter_test开发依赖{"sdk":"flutter"}

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

展开 / 收起项目 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