Skip to content

Commit

Permalink
0.4.6
Browse files Browse the repository at this point in the history
  • Loading branch information
espresso3389 committed Jan 11, 2024
1 parent 6997256 commit 286caf0
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
## 0.4.6

- Introduces PdfPage.render cancellation mechanism
- PdfPageRenderCancellationToken to cancel the rendering process
- BREAKING CHANGE: PdfPage.render may return null if the rendering process is canceled
- PdfPageRender.render limits render resolution up to 300-dpi unless you use getPageRenderingScale
- Even with the restriction, image size may get large and you'd better implement getPageRenderingScale to restrict such large image rendering
- PdfViewerParams default changes:
- scrollByMouseWheel default is 0.2
- maxRealSizeImageCount default is 3
- PdfViewerParams.scrollByArrowKey to enable keyboard navigation

## 0.4.5

- PdfViewerParams updates
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Add this to your package's `pubspec.yaml` file and execute `flutter pub get`:

```yaml
dependencies:
pdfrx: ^0.4.5
pdfrx: ^0.4.6
```
### Web
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.4.5"
version: "0.4.6"
platform:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: pdfrx
description: "Yet another PDF renderer for Flutter using PDFium."
version: 0.4.5
version: 0.4.6
homepage: https://github.com/espresso3389/pdfrx

environment:
Expand Down

0 comments on commit 286caf0

Please sign in to comment.