defaultErrorWidgetBuilder function

Widget defaultErrorWidgetBuilder(
  1. FlutterErrorDetails details, {
  2. ParagraphStyle? paragraphStyle,
  3. TextStyle? textStyle,
  4. EdgeInsets? padding,
  5. double? minimumWidth,
  6. Color? backgroundColor,
  7. CustomPainter? customPainter,
  8. bool? stackTrace,
})

Supply a customized Error Widget.

Implementation

Widget defaultErrorWidgetBuilder(
  FlutterErrorDetails details, {
  i.ParagraphStyle? paragraphStyle,
  i.TextStyle? textStyle,
  EdgeInsets? padding,
  double? minimumWidth,
  Color? backgroundColor,
  CustomPainter? customPainter,
  bool? stackTrace,
}) =>
    AppWidgetErrorDisplayed(
      paragraphStyle: paragraphStyle,
      textStyle: textStyle,
      padding: padding,
      minimumWidth: minimumWidth,
      backgroundColor: backgroundColor,
      customPainter: customPainter,
      stackTrace: stackTrace ?? App.inDebugMode,
    ).builder(details);