in_app_feedback 0.0.1+5 copy "in_app_feedback: ^0.0.1+5" to clipboard
in_app_feedback: ^0.0.1+5 copied to clipboard

Simple flutter feedback package that let users to provide feedback and create issue

in_app_feedback #

in_app_feedback is a simple feedback package that let user to provide feedback and raise issue from your application

Features #

Get your user feedback without user leaving the application.

  • Create an issue in GitHub
  • Get feedback via mail through SendGrid
  • Add record in firebase [Future]

Demo #

Prerequisite #

Generate API Key #

  • GitHub secret token generate fom here

    • Go to Geenerate new Token
    • Set token name, expiration
    • Select Repository access and Permissions eg. read write issue
  • SendGrid Key generate from SendGrid Email API from here

Getting started #

in_app_feedback: ^0.0.1+3

Usage #

FlutterFeedback.showFeedbackBottomSheet(
                context: context,
                emailConfig: EmailConfig(
                  toMailList: [
                    'test@gmail.com',
                  ],
                  fromMail: 'developer.test@gmail.com',
                  sendGridToken: 'kSendGridKey',
                ),
                gitHubConfig: GitHubConfig(
                  accessToken: 'kGithubToken',
                  gitHubUserName: 'codingWithTashi',
                  repositoryName: 'tibetan_proverb',
                ),
                feedbackCallback: (FeedbackData data) {
                  if (data.error == null) {
                    ScaffoldMessenger.of(context).showSnackBar(
                        const SnackBar(content: Text("Feedback Sent")));
                  } else {
                    ScaffoldMessenger.of(context)
                        .showSnackBar(SnackBar(content: Text(data.error!)));
                  }
                },
                bottomSheetShape: const RoundedRectangleBorder(
                  borderRadius: BorderRadius.only(
                    topLeft: Radius.circular(15.0),
                    topRight: Radius.circular(15.0),
                  ),
                ),
              );

Additional information #

Feel free to fork and send pull request

If you have any questions, feedback or ideas, feel free to create an issue. If you enjoy this project, I'd appreciate your 🌟 on GitHub.

You can also buy me a cup of coffee #

3
likes
130
pub points
26%
popularity

Publisher

unverified uploader

Simple flutter feedback package that let users to provide feedback and create issue

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, http

More

Packages that depend on in_app_feedback