imageErrorWidgetBuilder property
imageErrorWidgetBuilder if you want to show a custom widget based on the exception that happen while loading the image, if it network image or local one, and it will get called on all the images even in the photo preview widget and not just in the quill editor by default the default error from flutter framework will thrown
Implementation
final ImageEmbedBuilderErrorWidgetBuilder? imageErrorWidgetBuilder;