From 23b3fd05ba913c55730e0fc0b0e0fcf28f5de0f3 Mon Sep 17 00:00:00 2001 From: Ahmed Hnewa <73608287+freshtechtips@users.noreply.github.com> Date: Tue, 17 Oct 2023 22:36:41 +0300 Subject: [PATCH] Update the documentation (I forgot to add docuemntation for the second new property) --- flutter_quill_extensions/lib/flutter_quill_extensions.dart | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/flutter_quill_extensions/lib/flutter_quill_extensions.dart b/flutter_quill_extensions/lib/flutter_quill_extensions.dart index 2d9f7525..e4c77396 100644 --- a/flutter_quill_extensions/lib/flutter_quill_extensions.dart +++ b/flutter_quill_extensions/lib/flutter_quill_extensions.dart @@ -90,10 +90,17 @@ class FlutterQuillEmbeds { /// ```dart /// imageProviderBuilder: (imageUrl) async { /// // Example of using cached_network_image package + /// // Don't forgot to check if that image is local or network one /// return CachedNetworkImageProvider(imageUrl); /// } /// ``` /// + /// [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 + /// /// [forceUseMobileOptionMenuForImageClick] is a boolean /// flag that, when set to `true`, /// enforces the use of the mobile-specific option menu for image clicks in