Update the documentation (I forgot to add docuemntation for the second new property)

pull/1428/head
Ahmed Hnewa 2 years ago
parent ed1975a3de
commit 23b3fd05ba
No known key found for this signature in database
GPG Key ID: C488CC70BBCEF0D1
  1. 7
      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

Loading…
Cancel
Save