Skip to content
pubscout

amplitude_flutter

4.8.2, released 2 weeks ago by amplitude.com

Amplitude Flutter SDK for sending analytics events to Amplitude.

WASM-readyRock solid
$ flutter pub add amplitude_flutter
Source repository

What it does

Provides a Flutter plugin that lets you track events, identify users, and manage session data with Amplitude’s analytics backend. It supports Android, iOS, macOS, and web.

AI-written summary of version 4.8.2, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to collect user behavior data for product analytics
  • You want a single SDK for multiple platforms
  • You prefer an official SDK from Amplitude

Skip it when

  • You need a generic HTTP client
  • You are building a custom analytics backend

Strengths

  • Official SDK with multi‑platform support
  • Easy to integrate with existing Flutter projects
  • Keeps event data in sync across Android, iOS, web, and macOS

Weaknesses

  • Only works with Amplitude backend
  • No built‑in offline queueing or retry logic
  • Requires Amplitude account

Setup

Kind
Plugin (native code)
Effort
Medium
Code generation
No
Direct dependencies
0

Add amplitude_flutter to pubspec, run flutter pub get, then initialize Amplitude in main() with your API key. No build_runner or native permissions needed.

// Add to pubspec
// dependencies:
//   amplitude_flutter: ^4.8.2

import 'package:amplitude_flutter/amplitude_flutter.dart';

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  await Amplitude.instance.init('YOUR_API_KEY');
  runApp(MyApp());
}

Alternatives

Packages that do the same job and could replace amplitude_flutter.