Variant of FlutterErrorDetails with extra fields for the gestures library's pointer router (PointerRouter).

See also FlutterErrorDetailsForPointerEventDispatcher, which is also used by the gestures library.

Inheritance

Constructors

FlutterErrorDetailsForPointerRouter({exception, StackTrace stack, String library, String context, PointerRouter router, PointerRoute route, PointerEvent event, InformationCollector informationCollector, bool silent: false })

Creates a FlutterErrorDetailsForPointerRouter object with the given arguments setting the object's properties.

const

Properties

event PointerEvent

The pointer event that was being routed when the exception was raised.

read-only
route PointerRoute

The callback that threw the exception.

read-only
router PointerRouter

The pointer router that caught the exception.

read-only
context String

A human-readable description of where the error was caught (as opposed to where it was thrown).

read-only, inherited
exception → dynamic

The exception. Often this will be an AssertionError, maybe specifically a FlutterError. However, this could be any value at all.

read-only, inherited
hashCode int

Get a hash code for this object.

read-only, inherited
informationCollector InformationCollector

A callback which, when called with a StringBuffer will write to that buffer information that could help with debugging the problem.

read-only, inherited
library String

A human-readable brief name describing the library that caught the error message. This is used by the default error handler in the header dumped to the console.

read-only, inherited
runtimeType Type

A representation of the runtime type of the object.

read-only, inherited
silent bool

Whether this error should be ignored by the default error reporting behavior in release mode.

read-only, inherited
stack StackTrace

The stack trace from where the exception was thrown (as opposed to where it was caught).

read-only, inherited
stackFilter IterableFilter<String>

A callback which filters the stack trace. Receives an iterable of strings representing the frames encoded in the way that StackTrace.toString() provides. Should return an iterable of lines to output for the stack.

read-only, inherited

Operators

operator ==(other) bool

The equality operator.

inherited

Methods

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
toString() String

Returns a string representation of this object.

inherited