File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -60,11 +60,6 @@ class InstabugWidget extends StatefulWidget {
6060 /// Note: This has no effect if [nonFatalFlutterErrors] is false.
6161 final NonFatalExceptionLevel nonFatalExceptionLevel;
6262
63- /// Whether to exit the app on Flutter error.
64- ///
65- /// If true, the app will exit when a Flutter error occurs.
66- final bool shouldExitOnFlutterError;
67-
6863 /// This widget is used to wrap the root of your application. It will automatically
6964 /// configure both FlutterError.onError and PlatformDispatcher.instance.onError handlers to report errors to Instabug.
7065 ///
@@ -85,7 +80,6 @@ class InstabugWidget extends StatefulWidget {
8580 this .platformErrorHandler,
8681 this .nonFatalFlutterErrors = false ,
8782 this .nonFatalExceptionLevel = NonFatalExceptionLevel .error,
88- this .shouldExitOnFlutterError = false ,
8983 }) : super (key: key);
9084
9185 @override
@@ -127,10 +121,6 @@ class _InstabugWidgetState extends State<InstabugWidget> {
127121 }
128122
129123 FlutterError .presentError (details);
130-
131- if (widget.shouldExitOnFlutterError) {
132- exit (1 );
133- }
134124 };
135125
136126 PlatformDispatcher .instance.onError = (Object error, StackTrace stack) {
You can’t perform that action at this time.
0 commit comments