Flutter SDK

Capture screenshots and submit feedback from your Flutter app.

Quickstart

Get your first feedback submission in under 5 minutes.

1

Install the SDK

Add the SDK to your Flutter project.

terminal
flutter pub add mcpfeedback_flutter
2

Initialize in your app

Add initialization to your app's main widget.

lib/main.dart
import 'package:mcpfeedback_flutter/mcpfeedback.dart';

void main() {
  MCPFeedback.initialize(
    apiKey: 'YOUR_API_KEY',
    siteKey: 'YOUR_SITE_KEY',
  );
  runApp(MyApp());
}
3

Launch the feedback UI

Call show() to open the feedback form, or let users shake to report.

MCPFeedback.show(context);
4

Verify it works

Submit a test feedback item and check your MCPFeedback dashboard. It should appear within seconds.

The SDK also supports shake-to-report. Users can shake their device to open the feedback form.

Find your API key in Dashboard > Settings > API Keys

Configuration

ParameterTypeDefaultDescription
apiKeyStringrequiredYour MCPFeedback API key
siteKeyStringrequiredYour site identifier
shakeEnabledbooltrueEnable shake-to-report gesture
apiBaseUrlString?nullCustom API base URL (defaults to production)

API Reference

MCPFeedback.initialize(...)

Configure the SDK with your API key and site key. Must be called before any other SDK methods.

MCPFeedback.show(BuildContext context)

Opens the feedback capture flow. Takes a screenshot of the current screen and presents the feedback form.

MCPFeedback.dispose()

Clean up SDK resources. Call when the app is shutting down or feedback is no longer needed.