packages.flutter
packages.flutter copied to clipboard
When viewing some PDF files through the app (iOs 16.4.1), the view is “squeezed”.
Describe the bug I'm opening the viewer for testing an app and the test showed a difference when accessing on iOS 16.4.1 I leave the evidence for the test as well as the code used.
To Reproduce Steps to reproduce the behavior:
- Open viewer in iOS 16.4.1 emulator
- Open sample file
- See error
- Compare with submitted code
Expected behavior The view is the same as the view on android. Some attribute missing from package. (I believe...)
Screenshots
Smartphone (please complete the following information):
- Device: [e.g. iPhone 12]
- OS: [e.g. iOS 16.4.1]
- Version [e.g. 2.3.0]
Additional context
Code :
PdfViewPinch( controller: _pdfController, onDocumentError: (_) => const Center( child: CircularProgressIndicator(), ), onDocumentLoaded: (document) { setState(() { _allPagesCount = document.pagesCount; }); }, onPageChanged: (page) { setState(() { _actualPageNumber = page; }); }, )