Last updated:
0 purchases
github issues
Github Issues #
Use Github issues to collect user feedback.
Features #
Create Github issues with title, comment and labels
Easy internationalization with GithubIssuesLocalizations
Supports two authentication methods
Getting started #
Create a repository to store the user feedback (or use an existing one).
Get a token with read and write access on issues for your repository
Option 1: Generate a personal access token
Option 2: Create a Github App -> Install your own Github App -> Generate a private key for your Github App.
Usage #
Full example
Fill input fields in advance:
showDialog(
context: context,
builder: (context) {
return GithubIssueDialog(
github: Github(Authentication.token('PERSONAL_ACCESS_TOKEN'));,
owner: 'OWNER',
repo: 'REPO',
initialValue: const IssueRequest(title: "Hello World!"),
);
},
);
copied to clipboard
Pass your custom localizations:
class CustomLocalization extends GithubIssuesLocalizationsEn {
@override
String get dialogTitle => 'Thanks for your feedback!';
}
showDialog(
context: context,
builder: (context) {
return GithubIssueDialog(
github: Github(Authentication.token('PERSONAL_ACCESS_TOKEN'));,
owner: 'OWNER',
repo: 'REPO',
localizations: CustomLocalization(),
);
},
);
copied to clipboard
Show only comment input:
showDialog(
context: context,
builder: (context) {
return GithubIssueDialog(
github: Github(Authentication.token('PERSONAL_ACCESS_TOKEN'));,
owner: 'OWNER',
repo: 'REPO',
showTitle: false,
labels: null,
initialValue: const IssueRequest(title: "Hidden Title"), // title is required
);
},
);
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.