FeedbackJar
Mobile SDKs ✓ 5 minutes setup Medium

FeedbackJar + Flutter

The FeedbackJar Flutter SDK submits feedback and lists public posts from Android and iOS apps. You build the form UI — the SDK handles submission with device metadata attached.

Get your Widget ID free → 7-day free trial · No credit card required

How to install FeedbackJar in Flutter

1

Get your Widget ID

text
app.feedbackjar.com → Settings → Widgets → copy your Widget ID
2

Add the package

yaml
# pubspec.yaml
dependencies:
  feedbackjar: ^1.0.0

Then run flutter pub get. Requires Dart 3.0 / Flutter 3.10+.

3

Configure once in main()

dart
import 'package:feedbackjar/feedbackjar.dart';

void main() {
  WidgetsFlutterBinding.ensureInitialized();
  FeedbackJar.configure('your-widget-id');
  runApp(const MyApp());
}
4

Submit feedback from your own form

dart
final result = await FeedbackJar.shared.submit(controller.text);

switch (result) {
  case FeedbackSuccess(:final value):
    debugPrint('Submitted: ${value.postId}');
  case FeedbackFailure(:final error):
    debugPrint('Failed: $error');
}

Submissions are anonymous. Device metadata (OS, model, screen size, app version, locale) is attached automatically.

5

List public feedback (optional)

dart
final result = await FeedbackJar.shared.listFeedback(limit: 20);

if (result case FeedbackSuccess(:final value)) {
  for (final post in value.posts) {
    print('${post.title}${post.upvotes} upvotes');
  }
}

What you get

  • Pure Dart — no native module setup
  • Android & iOS
  • Device metadata attached to every submission
  • Dart 3 sealed-class results — nothing throws on network errors
  • Public feedback feed with pagination
  • Callback variant for non-async contexts

Add feedback to your Flutter app today

Sign up free, grab your Widget ID, and have the feedback widget running in your Flutter app in 5 minutes.

Start Free Trial 7-day free trial · No credit card required

Frequently Asked Questions

Looking for the full technical reference? Read the Flutter docs →