@@ -40,11 +40,13 @@ class FeedbackScreen extends StatefulWidget {
4040 final String screenShotPath;
4141 final String feedbackFooterText;
4242 final String ? fromEmail;
43+ final String reportType;
4344
4445 const FeedbackScreen ({
4546 Key ? key,
4647 required this .screenShotPath,
4748 required this .feedbackFooterText,
49+ required this .reportType,
4850 this .fromEmail = '' ,
4951 }) : super (key: key);
5052
@@ -104,6 +106,7 @@ class _FeedbackScreenState extends State<FeedbackScreen> {
104106 appName: appInfo.appName,
105107 buildVersionNumber: appInfo.appBuildNumber,
106108 appVersion: appInfo.appVersion,
109+ reportType: widget.reportType,
107110 currentStateScreenShotUrl: downloadableUrl,
108111 userFeedbackData: _feedback.text,
109112 packageName: appInfo.packageName,
@@ -289,7 +292,7 @@ class _FeedbackScreenState extends State<FeedbackScreen> {
289292 radius: 15 ,
290293 onTap: () {
291294 if (Platform .isAndroid) {
292- DialogManager (context).showAndroidSystemDialog ();
295+ DialogManager (context).showAndroidSystemDialog (reportType : widget.reportType );
293296 }
294297 },
295298 child: Container (
0 commit comments