Skip to content
pubscout

flutter_stripe_web

9.0.0, released 8 days ago by flutterstripe.io

Stripe SDK bindings for the Flutter web platform.

WASM-readyUses material_ui
$ flutter pub add flutter_stripe_web
Source repository

What it does

Provides the web implementation of Stripe's platform interface for Flutter. Allows you to create payment intents, handle payment methods, and use Stripe UI components on web builds.

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

Use it when

  • You need Stripe payment integration in a Flutter web app
  • You want a single package that works with the flutter_stripe platform interface on web

Skip it when

  • You require a production‑ready, fully‑stable solution
  • You need support for mobile platforms (iOS/Android)

Strengths

  • Web‑specific implementation of Stripe SDK
  • Keeps API parity with flutter_stripe
  • Integrates with Material UI for consistent styling

Weaknesses

  • Early‑stage package, may have breaking changes
  • Limited to web platform only

Setup

Kind
Plugin (native code)
Effort
Medium
Code generation
Yes (build_runner)
Direct dependencies
5

Add flutter_stripe and flutter_stripe_web to pubspec, ensure Flutter 3.47+ and run flutter pub get; configure Stripe publishable key as per flutter_stripe docs

import 'package:flutter_stripe/flutter_stripe.dart';

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  Stripe.publishableKey = 'pk_test_...';
  await Stripe.instance.applySettings();
  runApp(MyApp());
}

Alternatives

Packages that do the same job and could replace flutter_stripe_web.

Works with

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