VectorGraphicsErrorListener typedef

VectorGraphicsErrorListener = void Function(Object error, StackTrace? stackTrace)

The signature for an error callback if an error occurs during image decoding.

See VectorGraphicsCodecListener.onImage.

Implementation

typedef VectorGraphicsErrorListener = void Function(
  Object error,
  StackTrace? stackTrace,
);