in_app_feedback 0.0.1+5  in_app_feedback: ^0.0.1+5 copied 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 accessandPermissionseg.read write issue
 
- Go to 
- 
SendGrid Key generate from SendGrid Email API from here - Create` and verify SendGrid account
- open https://app.sendgrid.com/guide/integrate/langs/curl
- Provide API Nameand click- Create Key
 
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.
