attachScreenshot property
Automatically attaches a screenshot when capturing an error or exception.
Requires adding the SentryWidget to the widget tree. Example: runApp(SentryWidget(child: App())); The SentryWidget has to be the root widget of the app.
Implementation
bool attachScreenshot = false;