ErrorStackConfig class
Configuration options for ErrorStack.
Holds all configurable settings including logging level, routes, theme preferences, and custom error widget builders.
Constructors
- ErrorStackConfig({ErrorStackLogLevel level = ErrorStackLogLevel.verbose, String initialRoute = '/', Widget customErrorWidget(FlutterErrorDetails errorDetails)?, bool forceDebugWidget = false, String themeMode = 'light'})
- Creates an ErrorStackConfig with the specified settings.
Properties
- customErrorWidget → Widget Function(FlutterErrorDetails errorDetails)?
-
Optional custom error widget builder for release mode.
final
- forceDebugWidget → bool
-
Forces the debug widget to be shown even in release mode.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- initialRoute → String
-
The initial route to navigate to when restarting after an error.
final
- level → ErrorStackLogLevel
-
The logging level for error output.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- themeMode ↔ String
-
The current theme mode ('light' or 'dark').
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited