packages.flutter icon indicating copy to clipboard operation
packages.flutter copied to clipboard

When viewing some PDF files through the app (iOs 16.4.1), the view is “squeezed”.

Open tbmmarques opened this issue 1 year ago • 0 comments

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:

  1. Open viewer in iOS 16.4.1 emulator
  2. Open sample file
  3. See error
  4. Compare with submitted code

Expected behavior The view is the same as the view on android. Some attribute missing from package. (I believe...)

Screenshots image

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; }); }, )

tbmmarques avatar May 02 '23 14:05 tbmmarques