defaultErrorWidgetBuilder function
Widget
defaultErrorWidgetBuilder(
- FlutterErrorDetails details, {
- ParagraphStyle? paragraphStyle,
- TextStyle? textStyle,
- EdgeInsets? padding,
- double? minimumWidth,
- Color? backgroundColor,
- CustomPainter? customPainter,
- 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);