embeds/image/editor/image_embed_types library
Classes
- QuillToolbarImageConfigurations
- Configurations for dealing with images, on insert a image on request picking a image
Enums
Functions
Typedefs
- ImageEmbedBuilderErrorWidgetBuilder = ImageErrorWidgetBuilder
-
ImageEmbedBuilderOnRemovedCallback
= Future<
void> Function(String imageUrl) -
ImageEmbedBuilderProviderBuilder
= ImageProvider<
Object> Function(BuildContext context, String imageUrl) -
ImageEmbedBuilderWillRemoveCallback
= Future<
bool> Function(String imageUrl) -
OnImageInsertCallback
= Future<
void> Function(String image, QuillController controller) - A callback will called when inserting a image in the editor it have the logic that will insert the image block using the controller
-
OnImageInsertedCallback
= Future<
void> Function(String image) - When a new image picked this callback will called and you might want to do some logic depending on your use case
-
OnRequestPickImage
= Future<
String?> Function(BuildContext context, ImagePickerService imagePickerService) - When request picking an image, for example when the image button toolbar clicked, it should be null in case the user didn't choose any image or any other reasons, and it should be the image file path as string that is exists in case the user picked the image successfully