reportErrors property

bool reportErrors
final

Whether to report errors to FlutterError.onError after this listener is removed from the ImageStreamCompleter.

Defaults to true. When false, errors that arrive after removal are silently discarded. This is useful when FlutterError.onError is configured to report errors to a server.

The Image widget sets this to false when an Image.errorBuilder is provided.

Implementation

final bool reportErrors;