Skip to main content

Latest Flutter SDK version - pub.dev

The Crossmint Flutter SDK (crossmint_flutter) provides a headless-first SDK with optional UI widgets for integrating Crossmint wallets and authentication into your Flutter application.

Installation

Client Setup

Initialize the CrossmintClient and set up authentication and wallet management. The controllers barrel re-exports the client and auth surfaces, so a single import is enough:
main.dart

Provider Setup (Optional UI)

For apps using the provider pattern, wrap your application with CrossmintWalletProvider. Provider mode manages its own CrossmintClient internally — skip the Client Setup step above if you only use the provider.
main.dart

Quick Example

Once the client is set up, use the wallet controller directly (headless) to access wallet state and react to status changes via addListener:
Or using the provider pattern with widgets:

Headless vs UI Imports

The Flutter SDK follows a headless-first design. Most apps only need the default barrel; reach for the granular barrels when you want to narrow the surface:

Next Steps