cloud_firestore
適用於 Android 與 iOS 的 Cloud Firestore Flutter 插件,一個雲端主機的 NoSQL 資料庫,支援即時同步與離線功能。
使用 Flutter 與 Firebase 的時間追蹤應用程式
適用於 Android 與 iOS 的 Cloud Firestore Flutter 插件,一個雲端主機的 NoSQL 資料庫,支援即時同步與離線功能。
Firebase Auth 的 Flutter 插件,支援使用密碼、電話號碼以及 Google、Facebook 和 Twitter 等身分提供者進行驗證。
Firebase Core 的 Flutter 插件,支援連接到多個 Firebase 應用程式。
一個反應式快取與資料繫結框架。Riverpod 讓處理非同步程式碼變得輕鬆自在。
一個反應式快取與資料繫結框架。Riverpod 讓處理非同步程式碼變得輕鬆自在。
一個為 riverpod_generator 暴露註解的套件
Riverpod 的程式碼產生器。這不僅簡化語法,還增強功能,例如支援狀態熱重新載入。
Riverpod_lint 是一個為 Riverpod 使用者設計的開發工具,旨在幫助解決常見問題並簡化重複性任務。
v18.0.2一個基於 Navigation 2 的 Flutter 聲明式路由器,支援深度連結、資料驅動路由等
RxDart 是用於非同步程式設計的流行 ReactiveX API 實作,利用了原生 Dart Streams API。
一個 Dart 套件,可協助實作基於值的相等性,而無需顯式覆蓋 == 和 hashCode。
一個 Dart 模擬庫,透過支援空值安全性來簡化模擬,無需手動建立模擬或程式碼產生。
^5.6.6^1.0.8^2.0.7^5.5.2^3.13.0^1.16.1^1.7.1{"sdk":"flutter"}^2.6.1^2.6.1^2.0.17^14.8.1^0.20.2^0.28.0^2.5.3^2.6.1^0.2.1^6.3.1{"sdk":"flutter"}^1.0.4^2.3.1^5.0.0^2.4.15^2.6.5^2.6.5^0.7.5以下為英文專案原文快照,最新內容請造訪 GitHub。
A time tracking application built with Flutter & Firebase:
https://raw.githubusercontent.com/bizz84/starter_architecture_flutter_firebase/HEAD/.github/images/time-tracker-screenshots.png
This is intended as a reference app based on my Riverpod Architecture.
Note: this project used to be called "Started Architecture for Flutter & Firebase" (based on this old article). As of January 2023, it follows my updated Riverpod Architecture, using the latest packages.
A Flutter web preview of the app is available here:
All the data is persisted with Firestore and is kept in sync across multiple devices.
This is a tentative roadmap. There is no ETA for any of the points above. This is a low priority project and I don't have much time to maintain it.
The app is based on my Flutter Riverpod architecture, which is explained in detail here:
More more info on Riverpod, read this:
These are the main packages used in the app:
FirestoreListView widget with pagination supportSee the pubspec.yaml file for the complete list.
To use this project with Firebase, follow these steps:
Then, follow one of the two approaches below. 👇
Make sure you have the Firebase CLI and FlutterFire CLI installed.
Then run this on the terminal from the root of this project:
firebase login so you have access to the Firebase project you have createdflutterfire configure and follow all the stepsFor more info, follow this guide:
If you don't want to use FlutterFire CLI, follow these steps instead:
com.example.starter_architecture_flutter_firebase as the package name.google-services.json into android/app.com.example.starterArchitectureFlutterFirebase as the bundle ID.GoogleService-Info.plist into iOS/Runner, and add it to the Runner target in Xcode.That's it. Have fun!