feedback_sentry
3.2.0, released a year ago by uekoetter.dev
Collect in‑app feedback and send it to Sentry.
What it does
Provides a BetterFeedback widget that captures user screenshots, comments and optional contact info. When submitted, the feedback is uploaded to Sentry as a user feedback event. It builds on the `feedback` package and integrates with `sentry_flutter`.
AI-written summary of version 3.2.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need in‑app user feedback tied to Sentry error tracking
- You already use the `feedback` package and want Sentry integration
- You want a quick, low‑code way to report bugs from the UI
Skip it when
- You do not use Sentry as your backend
- You require a custom feedback backend or more advanced UI
- You need a platform‑specific feedback solution not covered by this wrapper
Strengths
- Simple API – just wrap your app with BetterFeedback
- Leverages existing `feedback` UI components
- Automatic upload to Sentry’s user feedback feature
Weaknesses
- Works only with Sentry as the backend
- Adds extra dependencies (`feedback` and `sentry`)
- Limited customization of the feedback UI
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 2
Follow the normal `sentry_flutter` setup (DSN, initialization) then add `feedback_sentry` to pubspec and wrap the app with BetterFeedback.
import 'package:feedback/feedback.dart';
import 'package:feedback_sentry/feedback_sentry.dart';
import 'package:flutter/material.dart';
void main() {
runApp(
BetterFeedback(
child: const MyApp(),
),
);
}
// somewhere in the UI
BetterFeedback.of(context).showAndUploadToSentry(
name: 'John Doe',
email: 'john@example.com',
);Alternatives
Packages that do the same job and could replace feedback_sentry.
- sentry_flutter
Directly use Sentry’s SDK without the extra feedback wrapper
95Compare
Works with
Packages commonly used together with feedback_sentry: ones it builds on, ones built on it, and its own family.