ErrorWidgetBuilder typedef

Widget ErrorWidgetBuilder (FlutterErrorDetails details)

Signature for the constructor that is called when an error occurs while building a widget.

The argument provides information regarding the cause of the error.

See also:

  • ErrorWidget.builder, which can be set to override the default ErrorWidget builder.
  • FlutterError.reportError, which is typically called with the same FlutterErrorDetails object immediately prior to ErrorWidget.builder being called.