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!