Skip to content

Commit aed269f

Browse files
authored
Update README.md
Signed-off-by: Alex Yackers <7115964+yackers@users.noreply.github.com>
1 parent 82745c1 commit aed269f

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -723,13 +723,15 @@ and can be performed in the background (with isolates or WorkManager).
723723
```dart
724724
Future<DocumentThumbnail?> thumbnail(DocumentFile file) => file.thumbnail(width: 256, height: 256, quality: 70);
725725
```
726-
> [!NOTE]
727-
> ⚠️ Sometimes due to different document providers, thumbnail can have bigger dimensions, than requested.
728-
Some document providers may not support thumbnail generation.
726+
727+
> [!NOTE]
728+
> ⚠️ Sometimes due to different document providers, thumbnail can have bigger dimensions, than requested.
729+
> Some document providers may not support thumbnail generation.
729730
730-
> [!TIP]
731-
> ⚠️ If file is local image, only `jpg`, `png`, `webp`, `gif`
732-
types are currently supported for thumbnail generation, in all other cases support depends on the document provider.
731+
> [!TIP]
732+
> ⚠️ If file is local image, only `jpg`, `png`, `webp`, `gif`
733+
> types are currently supported for thumbnail generation, in all other cases support depends on the document provider.
734+
733735
734736
- `thumbnailFile` `📄` Get the thumbnail of the file as a `File`.
735737

0 commit comments

Comments
 (0)