feedback_gitlab 3.0.0 feedback_gitlab: ^3.0.0 copied to clipboard
A Flutter package for getting better feedback. It allows the user to give interactive feedback directly in the app and upload it as an issue to GitLab
feedback_gitlab #
🚀 Getting Started #
Setup #
First, you will need to add feedback_gitlab
to your pubspec.yaml
.
The latest version is .
dependencies:
flutter:
sdk: flutter
feedback_gitlab: 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
BetterFeedback.of(context).showAndUploadToGitLab(
projectId: 'project-Id',
apiToken: 'api-token',
);
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.