AppObject constructor
AppObject({
- FlutterExceptionHandler? errorHandler,
- ErrorWidgetBuilder? errorScreen,
- ReportErrorHandler? errorReport,
- bool? allowNewHandlers = true,
Supply an error handler to the App.
Implementation
// The parameters are deprecated.
factory AppObject({
// ignore: avoid_unused_constructor_parameters
FlutterExceptionHandler? errorHandler,
// ignore: avoid_unused_constructor_parameters
ErrorWidgetBuilder? errorScreen,
// ignore: avoid_unused_constructor_parameters
v.ReportErrorHandler? errorReport,
bool? allowNewHandlers = true,
}) =>
_this ??= AppObject._(allowNewHandlers ?? true);