FlutterErrorDetailsForPointerEventDispatcher constructor Null safety

const FlutterErrorDetailsForPointerEventDispatcher(
  1. {required Object exception,
  2. StackTrace? stack,
  3. String? library = 'Flutter framework',
  4. DiagnosticsNode? context,
  5. PointerEvent? event,
  6. HitTestEntry<HitTestTarget>? hitTestEntry,
  7. InformationCollector? informationCollector,
  8. 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 super.exception,
  super.stack,
  super.library,
  super.context,
  this.event,
  this.hitTestEntry,
  super.informationCollector,
  super.silent,
});