feedback_gitlab library Null safety

Classes

BetterFeedback
A feedback widget that uses a custom widget and data type for prompting the user for their feedback. This widget should be at the top of your widget tree. Specifically, it should be above any Navigator widgets, including the navigator provided by MaterialApp.
DeFeedbackLocalizations
EnFeedbackLocalizations
FeedbackController
FeedbackData
FeedbackLocalizations
FeedbackThemeData
See the following image to get a better understanding of the properties. Theme
FrFeedbackLocalizations
GlobalFeedbackLocalizationsDelegate
UserFeedback
Container for the feedback of the user.

Extensions

BetterFeedbackX

Functions

debugCheckHasFeedbackLocalizations(BuildContext context) bool
uploadToGitLab({required String projectId, required String apiToken, String? gitlabUrl, Client? client}) OnFeedbackCallback

Enums

FeedbackMode
These are the available feedback modes.

Typedefs

FeedbackBuilder = Widget Function(BuildContext, OnSubmit )
A function that returns a Widget that prompts the user for feedback and calls OnSubmit when the user wants to submit their feedback.
OnFeedbackCallback = void Function(UserFeedback)
Function which gets called when the user submits his feedback. feedback is the user generated feedback. A string, by default. screenshot is a raw png encoded image. OnFeedbackCallback should cast feedback to the appropriate type.
OnSubmit = void Function(String feedback, {Map<String, dynamic>? extras})
The function to be called when the user submits their feedback.