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

插件详情v14.0.1

firebase_storage

适用于 Firebase Cloud Storage 的 Flutter 插件,这是一项功能强大、简单且成本效益高的对象存储服务,适用于 Android 和 iOS。

AndroidiOSWebmacOSWindows
近 30 天下载
90.6万
喜欢数
1760
Pub 分数
140

安装插件

flutter pub add firebase_storage

插件介绍

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

Firebase Storage 是一个 Flutter 插件,可与 Firebase Cloud Storage 实现无缝集成,使开发者能够存储和提供用户生成的内容,如图片、视频和文件。它提供安全且可扩展的对象存储,并具备内置的身份验证和访问控制功能。该插件支持 Android、iOS、Web、macOS 和 Windows 等多个平台,非常适合跨平台应用。通过简单的 API 实现文件的上传、下载和管理,大大简化了移动和 Web 应用中的媒体和数据处理。

适合场景

  • 存储用户个人资料图片
  • 上传和共享文档
  • 托管应用资源
  • 流式视频内容
  • 用户数据的备份和同步

主要特点

  • 跨平台支持
  • 安全文件访问
  • 实时上传/下载进度
  • 内置身份验证
  • 与 Firebase Auth 集成

适合对象

  • 需要文件存储的移动和网页应用
  • 需要用户生成内容管理的应用程序
  • 使用 Firebase 生态系统的项目
  • 寻求简单云存储集成的开发者

使用建议

  • 需要 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 项

  • firebase_core^5.1.0
  • firebase_core_platform_interface^8.1.1
  • firebase_storage_platform_interface^6.0.9
  • firebase_storage_web^3.11.15
  • mime^2.0.0

源码仓库

使用此插件的项目

所在榜单