Skip to content
pubscout

sentry_flutter

10.6.0, released today by sentry.io

Sentry SDK for Flutter to capture errors, crashes and performance data across platforms.

Flutter FavoriteRock solid
$ flutter pub add sentry_flutter
Source repository

What it does

Provides automatic error and exception reporting for Flutter apps, including native crashes on Android and iOS. It also supports performance tracing, navigation monitoring, and experimental session replay on web.

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

Use it when

  • You need crash reporting and error aggregation for a Flutter app
  • You want performance monitoring and breadcrumb tracking
  • You require native crash capture on Android/iOS
  • You plan to use Sentry’s session replay features

Skip it when

  • You prefer a self‑hosted or different analytics backend
  • Bundle size must be minimal and you don’t need crash reporting
  • You are not using Sentry as a service

Strengths

  • Full‑stack error and crash capture (Dart + native)
  • Supports Android, iOS, web, macOS, Windows, Linux
  • Performance tracing and navigation monitoring
  • Experimental session replay for web

Weaknesses

  • Adds native SDK dependencies and increases app size
  • Requires platform‑specific setup (SwiftPM, Gradle)
  • Tied to Sentry service; not a generic logger

Setup

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

Add DSN in SentryFlutter.init, configure native SDKs (Swift Package Manager for iOS/macOS, Gradle for Android), optionally add permissions for network access.

import 'package:flutter/widgets.dart';
import 'package:sentry_flutter/sentry_flutter.dart';

Future<void> main() async {
  await SentryFlutter.init(
    (options) => options.dsn = 'https://example@sentry.io/your-dsn',
    appRunner: () => runApp(MyApp()),
  );
}

Alternatives

Packages that do the same job and could replace sentry_flutter.

Works with

Packages commonly used together with sentry_flutter: ones it builds on, ones built on it, and its own family.