搜索插件、代码仓与 APP 分类

插件详情v5.8.0

cloud_firestore_web

cloud_firestore 的 Web 实现

Web
近 30 天下载
164万
喜欢数
45
Pub 分数
130

安装插件

flutter pub add cloud_firestore_web

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

cloud_firestore_web 包为 Firebase Cloud Firestore 提供了 Web 特定的实现,使 Flutter Web 应用程序能够与 Firestore 数据库进行交互。它允许直接从浏览器读取、写入和监听实时数据更改。由 Firebase 构建,该包与主 cloud_firestore 包无缝集成,确保跨平台行为一致。对于任何需要与后端数据库进行可扩展、实时数据同步的 Flutter Web 应用来说,此包都是必不可少的。

适合场景

  • Web 应用中的实时数据同步
  • 离线优先的Web应用程序
  • Web仪表板中的动态内容加载
  • 使用 Firestore 数据进行用户身份验证
  • 协作式网络应用

主要特点

  • 特定于Web的Firestore集成
  • 实时数据监听器
  • 离线持久化支持
  • 与 cloud_firestore 的无缝同步
  • 安全的客户端数据访问

适合对象

  • 使用 Firebase 的 Flutter Web 开发人员
  • 需要实时数据库更新的应用程序
  • 需要可扩展云存储的项目
  • 使用共享逻辑开发跨平台应用的开发者
  • 利用 Firebase 生态系统的团队

使用建议

  • 需要 cloud_firestore 包以获得完整功能
  • 仅限网页平台
  • 取决于 Firebase 项目配置
  • 可能需要额外的安全规则设置
  • 需要互联网连接以实现实时同步

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

Flutter + Firebase logo

FlutterFire

Follow on Twitter Maintained with Melos OSSF scorecard


[Changelog] • [Packages]


FlutterFire is a set of Flutter plugins that enable Flutter apps to use Firebase services. You can follow an example that shows how to use these plugins in the Firebase for Flutter codelab.

Flutter is Google’s UI toolkit for building beautiful, natively compiled applications for mobile, web, and desktop from a single codebase. Flutter is used by developers and organizations around the world, and is free and open source.


Documentation


Stable Plugins

Name pub.dev Firebase Product Documentation View Source Android iOS Web MacOS Windows
Analytics Analytics pub.dev badge 🔗 📖 firebase_analytics ✔ ✔ ✔ β N/A
App Check App Check pub.dev badge 🔗 📖 firebase_app_check ✔ ✔ ✔ β N/A
Authentication Authentication pub.dev badge 🔗 📖 firebase_auth ✔ ✔ ✔ β (*)
Cloud Firestore Cloud Firestore pub.dev badge 🔗 📖 cloud_firestore ✔ ✔ ✔ β (*)
Cloud Functions Cloud Functions pub.dev badge 🔗 📖 cloud_functions ✔ ✔ ✔ β N/A
Cloud Messaging Cloud Messaging pub.dev badge 🔗 📖 firebase_messaging ✔ ✔ ✔ β N/A
Cloud Storage Cloud Storage pub.dev badge 🔗 📖 firebase_storage ✔ ✔ ✔ β (*)
Core Core pub.dev badge 🔗 📖 firebase_core ✔ ✔ ✔ β (*)
Crashlytics Crashlytics pub.dev badge 🔗 📖 firebase_crashlytics ✔ ✔ N/A β N/A
Data Connect Data Connect pub.dev badge 🔗 📖 firebase_data_connect ✔ ✔ ✔ N/A N/A
In-App Messaging In-App Messaging pub.dev badge 🔗 📖 firebase_in_app_messaging ✔ ✔ N/A N/A N/A
Installations Installations pub.dev badge 🔗 📖 firebase_app_installations ✔ ✔ ✔ β N/A
Performance Monitoring Performance Monitoring pub.dev badge 🔗 📖 firebase_performance ✔ ✔ ✔ N/A N/A
Realtime Database Realtime Database pub.dev badge 🔗 📖 firebase_database ✔ ✔ ✔ β N/A
Remote Config Remote Config pub.dev badge 🔗 📖 firebase_remote_config ✔ ✔ ✔ β N/A

(*) for development only. Production on Windows is not supported.

Preview Plugins

Name pub.dev Firebase Product Documentation View Source Android iOS Web MacOS
ML Model Downloader (deprecated) ML Model Downloader pub.dev badge 🔗 📖 firebase_ml_model_downloader ✔ ✔ N/A β

Issues

Please file FlutterFire specific issues, bugs, or feature requests in our issue tracker.

Plugin issues that are not specific to FlutterFire can be filed in the Flutter issue tracker.

Contributing

If you wish to contribute a change to any of the existing plugins in this repo, please review our contribution guide and open a pull request.

所属分类

依赖

依赖清单 5 项

  • _flutterfire_internals^1.3.79
  • cloud_firestore_platform_interface^8.1.0
  • collection^1.0.0
  • firebase_core^5.1.0
  • firebase_core_web^4.1.0

源码仓库

使用此插件的项目