amplitude_flutter
4.8.2, released 2 weeks ago by amplitude.com
Amplitude Flutter SDK for sending analytics events to Amplitude.
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.
- pocketbase
Multi-platform Dart SDK for PocketBase open-source backend
88Compare - firebase_ai
Flutter plugin for Firebase AI Logic SDK to access Gemini, Imagen and other generative models.
86Compare - firebase_admin_sdk
Firebase Admin SDK implementation for Dart server environments
84Compare - clarity_flutter
Flutter SDK for Microsoft Clarity session replay, heatmaps and interaction analytics.
83Compare