-
Couldn't load subscription status.
- Fork 513
Description
Hi π and thank you for the great work on pdfx β it has been an excellent solution for our needs so far.
Iβm developing a Quranic app, where we use pdfx to display Quran PDFs in right-to-left (RTL) reading order. These PDFs are typically laid out so that Page 1 is the last page (e.g., Page 604), and the user should scroll or swipe from right to left, consistent with Arabic reading flow.
β Feature Request
Please consider adding a reverse or isRtl option to the PdfViewPinch widget that:
β’ Reverses the scroll/swipe direction.
β’ Allows users to naturally swipe right-to-left, just like they would in a physical Quran.
β’ Ensures the first visible page is actually the last page in the PDF (i.e., Page 604 shows first, then 603, 602, etc.).
π Use Case
Currently, we use:
PdfViewPinch(
controller: controller,
scrollDirection: Axis.horizontal,
)But the swipe direction and page ordering feel unintuitive for Arabic readers of the Quran. Having this reverse option would drastically improve UX for apps with religious texts and RTL content.
The simple PdfView has the option reverse, we need this in PdfViewPinch:
PdfView(
controller: pdfController,
reverse: true,
onPageChanged: onPageChanged,
)β Bonus Points
If this can be paired with proper PageController behavior (e.g., jumpToPage(604) shows first), it would be a huge win for all RTL-based reading apps.
Thanks again for this awesome package. Happy to help test or contribute to this feature if needed!