QuillImageUtilities class
Constructors
- QuillImageUtilities({required Document document})
-
const
Properties
- document → Document
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
deleteAllLocalImages(
) → Future< void> - Deletes all local images referenced in a Quill document. it's not supported on web for now
-
getCachedImagePathsFromDocument(
{String? replaceUnexistentImagesWith}) → Iterable< String> - Retrieves cached image paths from a Quill document, primarily for mobile platforms.
-
getImagesPathsFromDocument(
{required bool onlyLocalImages}) → Iterable< String> - Retrieves paths to images embedded in a Quill document.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
isImageCached(
String imagePath) → bool - Determines if an image file is cached based on the platform. it's not supported on web for now
-
saveImagesToDirectory(
{required Iterable< String> images, required dynamic deleteThePreviousImages, required Directory saveDirectory, OnGenerateNewFileNameCallback? onGenerateNewFileName}) → Future<List< String> > - Saves a list of images to a specified directory.