Enterprise feature. Contact us for access.
Create a New Flutter Project + Crossmint SDK
1
Create a new Flutter app
2
Install crossmint_flutter
3
Set your environment variables
Pass your API key and configuration via Dart defines:
The
receiptEmail field is optional. If the buyer pays with Apple Pay or Google Pay, Crossmint obtains the email automatically. Providing it improves fraud signal quality.4
Replace lib/main.dart with
5
Run your project
Run with the same
--dart-define flags from step 3:Testing Your App
Test purchases in staging using test credit cards, like4242424242424242 (Visa). More information on testing can be found here. This demo is built on staging — to launch on production, check the production checklist.
Next Steps
Mobile WebView Integration
Render the checkout in your own WebView without the SDK
Flutter SDK Reference
Full API reference for the Flutter SDK

