Overview
Turnkey’s Flutter SDK allows you to customize the sub-organization creation process in your Flutter application. This is useful if you want to tailor the onboarding experience — such as automatically creating wallets, configuring authentication method-specific settings, setting default usernames, or naming passkeys. These customization options can be applied differently for each authentication method.Customization
You can customize sub-org creation throughauthConfig.createSubOrgParams inside your TurnkeyConfig.
Each authentication method can have its own configuration. For example, you can assign a default username for users who sign up via email OTP and a separate wallet setup for passkey users.
lib/main.dart
lib/main.dart
CreateSubOrgParams class in the Flutter SDK.