dynamic_sdk

The core Dynamic SDK for Flutter and Dart applications.

Use this package for authentication, sessions, users, wallets, multi-factor authentication, passkeys, and the shared client runtime. Add separate packages only for the chains and features that your application uses.

Create a client

import 'package:dynamic_sdk/dynamic_sdk.dart';

final client = DynamicSdk.createDynamicClient(
  environmentId: 'YOUR_ENVIRONMENT_ID',
  appName: 'My app',
  nativeLink: 'myapp://',
  universalLink: 'https://example.com',
);

await client.initialize();

Use your own Dynamic environment ID. Do not store API secrets in the client application.

Add features

Install feature packages on the same client before initialization. For example:

import 'package:dynamic_sdk_waas/dynamic_sdk_waas.dart';

client.useWaas();
await client.initialize();

Each feature package documents its own setup and public API.

Platforms

The package supports Android, iOS, web, macOS, Windows, and Linux. Some optional features have narrower platform support. Check the README for each feature package.