Skip to content

Commit 0cdaa98

Browse files
committed
fix: DocumentThumbnail.fromUri
Signed-off-by: Alex Yackers <7115964+yackers@users.noreply.github.com>
1 parent b2f97d8 commit 0cdaa98

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

lib/src/data/document_thumbnail.dart

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,13 @@ class DocumentThumbnail {
5959
bool png = false,
6060
bool webp = false,
6161
}) =>
62-
DocumentFile(uri: uri, exists: true, canThumbnail: true).thumbnail();
62+
DocumentFile(uri: uri, exists: true, canThumbnail: true).thumbnail(
63+
width: width,
64+
height: height,
65+
quality: quality,
66+
png: png,
67+
webp: webp,
68+
);
6369

6470
/// Converts the instance to a map.
6571
Map<String, dynamic> toMap() => <String, dynamic>{

0 commit comments

Comments
 (0)