ErrorStack class
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- initialRoute ↔ String
-
The initial route to navigate to when an error occurs
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- storage → FlutterSecureStorage
-
Storage instance
final
- themeMode ↔ String
-
The theme mode to use
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
Static Properties
- instance → ErrorStack
-
final
Static Methods
-
init(
{ErrorStackLogLevel level = ErrorStackLogLevel.verbose, String initialRoute = "/", Widget errorWidget(FlutterErrorDetails errorDetails)?}) → dynamic -
Initialize the ErrorStack package
You can set the
level
to ErrorStackLogLevel.verbose to see more details You can set theinitialRoute
to the route you want to navigate to when an error occurs You can set theerrorWidget
to a custom error widget
Constants
- storageKey → const String
- Storage key