ErrorBuilder typedef
ErrorBuilder =
Widget Function(BuildContext context, Object? error, StackTrace? stackTrace)
Builder used to render an error state when SVG loading/parsing fails.
context: the build context.error: the thrown error (may be null).stackTrace: optional stack trace.
Implementation
typedef ErrorBuilder = Widget Function(
BuildContext context,
Object? error,
StackTrace? stackTrace,
);