FlutterErrorDetailsForPointerEventDispatcher constructor Null safety
- {required Object exception,
- StackTrace? stack,
- String? library,
- 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.
The gesture library calls this constructor when catching an exception that will subsequently be reported using FlutterError.onError.
Implementation
const FlutterErrorDetailsForPointerEventDispatcher({
required Object exception,
StackTrace? stack,
String? library,
DiagnosticsNode? context,
this.event,
this.hitTestEntry,
InformationCollector? informationCollector,
bool silent = false,
}) : super(
exception: exception,
stack: stack,
library: library,
context: context,
informationCollector: informationCollector,
silent: silent,
);