feedback_jira
🚀 Getting Started
Setup
First, you will need to add feedback_jira
to your pubspec.yaml
.
dependencies:
flutter:
sdk: flutter
feedback_jira: 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).showAndUploadToJira(...);
.
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).showAndUploadToJira(
domainName: 'domainName',
apiToken: 'api-token',
);
Provide a way to hide the feedback panel by calling BetterFeedback.of(context).hide();