AirService. APIs below match the Reference Flutter tab.
Prerequisites
- Initialization with a valid
GlobalKey<NavigatorState>onMaterialApp - For Swap, On-ramp, and MFA below: an authenticated session after
login - Optional:
preloadWallet()before opening wallet UIs for smoother first open
Login
login presents native Flutter UI for the configured login methods. After initialize(), call login with your Partner JWT (authToken) as described in User login & sessions (Flutter tab).
Swap UI
On-ramp UI
MFA setup
getUserInfo() → user.isMFASetup (see Reference models).
Theming, locale, and currency
Web SDK usessessionConfig / updateSessionConfig on init. For Flutter, confirm behavior in your SDK version and Release notes. Dashboard and partner configuration also affect login and widget appearance — see Theming and Language & currency for product-level options.