FlutterErrorDetailsForPointerEventDispatcher class

Variant of FlutterErrorDetails with extra fields for the gesture library's binding's pointer event dispatcher (GestureBinding.dispatchEvent).

Inheritance

Constructors

FlutterErrorDetailsForPointerEventDispatcher({required Object exception, StackTrace? stack, String? library = 'Flutter framework', DiagnosticsNode? context, PointerEvent? event, HitTestEntry<HitTestTarget>? hitTestEntry, InformationCollector? informationCollector, bool silent = false})
Creates a FlutterErrorDetailsForPointerEventDispatcher object with the given arguments setting the object's properties.
const

Properties

context DiagnosticsNode?
A DiagnosticsNode that provides a human-readable description of where the error was caught (as opposed to where it was thrown).
finalinherited
event PointerEvent?
The pointer event that was being routed when the exception was raised.
final
exception Object
The exception. Often this will be an AssertionError, maybe specifically a FlutterError. However, this could be any value at all.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
hitTestEntry HitTestEntry<HitTestTarget>?
The hit test result entry for the object whose handleEvent method threw the exception. May be null if no hit test entry is associated with the event (e.g. PointerHoverEvents, PointerAddedEvents, and PointerRemovedEvents).
final
informationCollector InformationCollector?
A callback which will provide information that could help with debugging the problem.
finalinherited
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.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
silent bool
Whether this error should be ignored by the default error reporting behavior in release mode.
finalinherited
stack StackTrace?
The stack trace from where the exception was thrown (as opposed to where it was caught).
finalinherited
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.
finalinherited
summary DiagnosticsNode
Returns a short (one line) description of the problem that was detected.
no setterinherited

Methods

copyWith({DiagnosticsNode? context, Object? exception, InformationCollector? informationCollector, String? library, bool? silent, StackTrace? stack, IterableFilter<String>? stackFilter}) FlutterErrorDetails
Creates a copy of the error details but with the given fields replaced with new values.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
exceptionAsString() String
Converts the exception to a string.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited