Giter Site home page Giter Site logo

feedback's Introduction

feedback_sentry

Getting Started

Follow the setup instructions of sentry_flutter.

Then, you will need to add feedback_sentry to your pubspec.yaml. The latest version is pub.dev.

dependencies:
  feedback_sentry: x.y.z # use the latest version found on pub.dev

Then, run flutter pub get in your terminal.

Use it

Just wrap your app in a BetterFeedback widget. To show the feedback view just call BetterFeedback.of(context).show(...);. The callback gets called when the user submits his feedback.

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

void main() {
  runApp(
    BetterFeedback(
      child: const MyApp(),
    ),
  );
}

Provide a way to show the feedback panel by calling

import 'package:feedback_sentry/feedback_sentry.dart';

BetterFeedback.of(context).showAndUploadToSentry(
    name: 'Foo Bar', // optional
    email: '[email protected]', // optional
);

Provide a way to hide the feedback panel by calling BetterFeedback.of(context).hide();

📣 Author

Issues, questions and contributing

You can raise issues here. If you've got a question do not hesitate to ask it here. Contributions are also welcome. You can do a pull request on GitHub here. Please take a look at up for grabs issues first.

Sponsoring

I'm working on my packages on my free-time, but I don't have as much time as I would. If this package or any other package I created is helping you, please consider to sponsor me. By doing so, I will prioritize your issues or your pull-requests before the others.

feedback's People

Contributors

ueman avatar renovate[bot] avatar renovate-bot avatar caseycrogers avatar sils avatar jamescullum avatar filiponesco avatar keven-cerrado avatar rohitbhoite avatar ardakalayci avatar bgetsug avatar calcitem avatar zazo032 avatar diegoveloper avatar felipheallef avatar jesushdez960717 avatar koheikanagu avatar marioskoni avatar mduruisseau avatar niclasvaneyk avatar leptopoda avatar ploth avatar quoc-huynh-cosee avatar rbustillosdev avatar s-ecki avatar viniciusamelio avatar vinzent03 avatar apomalyn avatar ajnaf avatar jrc2139 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.