Skip to main content

Overview

The Dynamic Flutter SDK provides a comprehensive API for building Web3-enabled Flutter applications. This reference documents all the modules, functions, and types available in the SDK.

Requirements

  • Flutter 3.3+
  • Dart 3.4.3+
  • iOS 15.5+ / Android 6.0+ (API 23+)

Installation

SDK Architecture

The SDK uses a singleton pattern with modular access to different functionalities:

Core Modules

Initialization

Authentication (sdk.auth)

Wallets (sdk.wallets)

EVM Operations (sdk.evm)

Solana Operations (sdk.solana)

Networks (sdk.networks)

MFA (sdk.mfa)

Passkeys (sdk.passkeys)

relatedOriginRpId lets users reuse passkeys that were registered on a previous domain. The related domain must host /.well-known/webauthn linking it to your current domain. See Passkey authentication.

Built-in UI (sdk.ui)

Data Types

ClientProps

BaseWallet

UserProfile

PhoneData

WriteContractInput

GenericNetwork

Error Handling

All SDK functions can throw exceptions. Use Dart’s native error handling:
For async operations:

Quick Reference Example

Session State Management with StreamBuilder

For production apps, use StreamBuilder for reactive state management:

Using FutureBuilder for Async Operations

Complete Example App: For a fully functional Flutter app demonstrating all SDK features, check the example directory in the dynamic_sdk package for complete implementation examples.
Last modified on October 14, 2026