David PHAM-VAN

Fix PdfPreview timer dispose

# Changelog
## 5.0.5
- Fix PdfPreview timer dispose [wwl901215]
## 5.0.4
- Improve console error reporting
... ...
... ... @@ -240,6 +240,12 @@ class _PdfPreviewState extends State<PdfPreview> {
}
@override
void dispose() {
previewUpdate?.cancel();
super.dispose();
}
@override
void reassemble() {
_raster();
super.reassemble();
... ...
... ... @@ -7,7 +7,7 @@ description: >
homepage: https://github.com/DavBfr/dart_pdf/tree/master/printing
repository: https://github.com/DavBfr/dart_pdf
issue_tracker: https://github.com/DavBfr/dart_pdf/issues
version: 5.0.4
version: 5.0.5
environment:
sdk: ">=2.12.0-0 <3.0.0"
... ...