onFlutterError property

void Function(FlutterErrorDetails details)? onFlutterError
final

Function which should additionally be called when an error is caught using the FlutterError.onError mechanism. Useful if other packages also need to override this behaviour (such as integration tests).

Implementation

final void Function(FlutterErrorDetails details)? onFlutterError;