FlutterErrorDetailsForRendering constructor

const FlutterErrorDetailsForRendering({dynamic exception, StackTrace stack, String library, String context, RenderObject renderObject, InformationCollector informationCollector, bool silent: false })

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

The rendering library calls this constructor when catching an exception that will subsequently be reported using FlutterError.onError.

Implementation

const FlutterErrorDetailsForRendering({
  dynamic exception,
  StackTrace stack,
  String library,
  String context,
  this.renderObject,
  InformationCollector informationCollector,
  bool silent = false
}) : super(
  exception: exception,
  stack: stack,
  library: library,
  context: context,
  informationCollector: informationCollector,
  silent: silent
);