flutter_automation
一個 Flutter 套件,提供各種自動化腳本,協助您處理 Flutter 專案。
一個用於 Flutter Firebase 認證、Android 簽名、Google 地圖等的自動化套件,即將推出
以下為英文專案原文快照,最新內容請造訪 GitHub。
This package contains various automation scripts that will help you automate various aspects of your flutter project.
To use this plugin, add flutter_automation as a dependency in your pubspec.yaml file.
From terminal in your flutter project run,
flutter pub pub run flutter_automation --firebase-auth --google-maps --android-sign --firestore-crud
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
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
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
Provides a simple firestore CRUD operation boilerplate
flutter pub pub run flutter_automation --firestore-crud