App constructor

App({
  1. FlutterExceptionHandler? errorHandler,
  2. ErrorWidgetBuilder? errorScreen,
  3. ReportErrorHandler? errorReport,
  4. bool allowNewHandlers = true,
})

Supply an error handler to the App.

Implementation

factory App({
  FlutterExceptionHandler? errorHandler,
  ErrorWidgetBuilder? errorScreen,
  v.ReportErrorHandler? errorReport,
  bool allowNewHandlers = true,
}) =>
    _this ??= App._(errorHandler, errorScreen, errorReport, allowNewHandlers);