ThumbnailErrorBuilder typedef

ThumbnailErrorBuilder = Widget Function(BuildContext context, Object error, StackTrace? stackTrace)

Signature for the builder callback used by ThumbnailError.builder.

The parameters represent the BuildContext, error and stackTrace of the error that triggered this callback.

Implementation

typedef ThumbnailErrorBuilder = Widget Function(
  BuildContext context,
  Object error,
  StackTrace? stackTrace,
);