packages.flutter
packages.flutter copied to clipboard
[native_pdf_renderer] Add the ability to ignore rotationAngle to not swap width/height
Is your feature request related to a problem? Please describe. When using the native_pdf_renderer there is difference in the output between web and iOS when provided the same PDF as the rotationAngle is swapping the height and width here for iOS, but it is not observed for web.
Describe the solution you'd like I am looking for a consistent experience between web and iOS and a possible option is to add the ability to ignore the rotationAngle
Describe alternatives you've considered Another potential solution would be to use https://github.com/mozilla/pdf.js to detect the same swapping of width/height if landscape is detected if this is possible.