useErrorStack method
dynamic
useErrorStack({
- ErrorStackLogLevel level = ErrorStackLogLevel.verbose,
- Widget errorWidget(
- FlutterErrorDetails errorDetails
Use ErrorStack
level
is the log level for ErrorStack
errorWidget
is a custom error widget
Implementation
useErrorStack(
{ErrorStackLogLevel level = ErrorStackLogLevel.verbose,
Widget Function(FlutterErrorDetails errorDetails)? errorWidget}) {
_enableErrorStack = true;
_errorStackLogLevel = level;
_errorStackErrorWidget = errorWidget;
}