ErrorWidget.withDetails constructor Null safety
- {String message = '',
- FlutterError? error}
Creates a widget that displays the given error message.
An explicit FlutterError can be provided to be reported to inspection tools. It need not match the message.
Implementation
ErrorWidget.withDetails({ this.message = '', FlutterError? error })
: _flutterError = error,
super(key: UniqueKey());