mopper 0.1.0 copy "mopper: ^0.1.0" to clipboard
mopper: ^0.1.0 copied to clipboard

In-app feedback capture widget with screenshot annotation, automatic diagnostics collection, and pluggable integrations for GitLab and Sentry.

example/example.dart

import 'package:flutter/material.dart';
import 'package:mopper/mopper.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Mopper Example',
      builder: (context, child) {
        return MopperWrapper(
          integrations: [
            // Submit feedback as GitLab issues with screenshots attached.
            const GitLabIntegration(
              projectId: '12345',
              apiToken: 'glpat-xxxxxxxxxxxx',
              gitlabUrl: 'gitlab.com',
            ),
            // Submit feedback via Sentry's user feedback API.
            SentryFeedbackIntegration(),
          ],
          child: child ?? const SizedBox.shrink(),
        );
      },
      home: const ExampleHome(),
    );
  }
}

class ExampleHome extends StatelessWidget {
  const ExampleHome({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text('Mopper Example')),
      body: const Center(
        child: Text('Tap the feedback button to submit feedback.'),
      ),
    );
  }
}
1
likes
160
points
11
downloads

Documentation

API reference

Publisher

verified publisherdutchcodingcompany.com

Weekly Downloads

In-app feedback capture widget with screenshot annotation, automatic diagnostics collection, and pluggable integrations for GitLab and Sentry.

Repository (GitHub)
View/report issues

Topics

#feedback #flutter #screenshot #qa

License

MIT (license)

Dependencies

dcc_toolkit, device_info_plus, flutter, flutter_form_builder, flutter_localizations, http, intl, package_info_plus, sentry_flutter

More

Packages that depend on mopper