onError property
Builder invoked to render a fallback when parsing/building throws and
throwOnError is false. When null, the raw tex is shown in KaTeX's
error red.
Implementation
final Widget Function(BuildContext context, Object error)? onError;