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.0+
  • Dart 3.0+
  • iOS 15.5+ / Android API Level 26+

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)

Built-in UI (sdk.ui)

Data Types

DynamicSDKConfig

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 April 3, 2026