We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3a75cb commit 86f9ca3Copy full SHA for 86f9ca3
example/lib/src/screens/bug_reporting.dart
@@ -60,6 +60,9 @@ class _BugReportingPageState extends State<BugReportingPage> {
60
Instabug.addFileAttachmentWithURL(fileAttachment!.path, fileAttachment!.path
61
.split('/')
62
.last.substring(0));
63
+ setState(() {
64
+
65
+ });
66
}
67
68
@@ -464,6 +467,10 @@ class _BugReportingPageState extends State<BugReportingPage> {
464
467
text: 'Set On Dismiss Callback',
465
468
),
466
469
const SectionTitle('Attachments'),
470
+ if(fileAttachment!=null)
471
+ Text(fileAttachment!.path
472
+ .split('/')
473
+ .last.substring(0) +" Attached"),
474
InstabugButton(
475
onPressed: addFileAttachment,
476
text: 'Add file attachment',
0 commit comments