Skip to main content

Flutter demo

Build a Flutter storefront that opens Inttegro’s native payment sheet. The app receives an order ID from your backend.

See the flow

Compare the payment-ready and completed states on iOS and Android.

2 steps

React Native and Flutter use these same native payment sheets instead of reimplementing checkout. The Android robot is reproduced from work created and shared by Google and used according to the Creative Commons 3.0 Attribution License.

What you’ll build

  • A Flutter Material 3 product experience
  • Native payment-sheet presentation through the Inttegro Flutter SDK
  • A backend-owned order and credential boundary
  • Lifecycle events cleaned up on dispose

Run the demo

Install Flutter, generate the Android and iOS projects, fetch packages, and set the backend URL. The released README has the exact commands.

Key files

  1. lib/demo_backend.dart requests the order ID from your backend.
  2. lib/main.dart presents the payment sheet and handles the result.

Before you ship

Keep the customer, product, amount, currency, and API key on the server. Return only the order ID to the app and verify payment before fulfillment.

Next