This documentation contains guides for using the Flutter SDK.
We have created a set of Dart packages that can be used to interact with the Turnkey API. These can be combined to create a fully-featured Flutter app, powered by Turnkey.
This package consolidates common cryptographic utilities used across our applications, particularly primitives related to keys, encryption, and decryption in a pure Dart implementation.
The easiest way to build a Flutter app with Turnkey is to use our Flutter demo app as a starter. This app is a fully-featured example that demonstrates how to use the Turnkey’s Flutter SDK to authenticate users, create wallets, export wallets, sign messages, and more.The app includes a backend JavaScript server which uses @turnkey/sdk-server to make requests to Turnkey that must be signed by the parent organization. An example of a request that must be signed by the parent organization is creating a sub-organization. (code reference)Some requests made to Turnkey must be signed by the sub-organization. These are written in Dart and are ran by the app directly. You can find these requests in the app’s TurnkeyProvider. An example of a request that must be signed by the sub-organization is creating a wallet. (code reference)