Skip to content
pubscout

cloud_functions_web

5.2.0, released 5 days ago by firebase.google.com

Web implementation of Firebase Cloud Functions for Flutter web apps

WASM-ready
$ flutter pub add cloud_functions_web
Source repository

What it does

Provides a web-specific implementation of the Cloud Functions API, enabling Flutter web applications to call Firebase Cloud Functions. It relies on the Firebase web SDK and exposes the same interface as the platform-agnostic package.

AI-written summary of version 5.1.15, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to call Cloud Functions from a Flutter web project
  • You already use firebase_core_web and want a single package for all Firebase services

Skip it when

  • You are building a non-Firebase backend or targeting mobile only
  • You need advanced client-side features not supported by the web SDK

Strengths

  • Fully integrated with Firebase web SDK
  • No additional native code required
  • Consistent API with other Firebase packages

Weaknesses

  • Only works on web, not on mobile or desktop
  • Requires firebase_core_web dependency
  • Limited to features exposed by the Firebase web SDK

Setup

Kind
Plugin (native code)
Effort
Low
Code generation
No
Direct dependencies
4

Add cloud_functions_web to pubspec, import package, ensure firebase_core_web is initialized

Alternatives

Packages that do the same job and could replace cloud_functions_web.

Works with

Packages commonly used together with cloud_functions_web: ones it builds on, ones built on it, and its own family.