Closed Yasser85 closed 4 months ago
@MbIXjkee ^ Can we add this to our list when we refactor the page?
@Yasser85 Transition direction is currently designed to resemble reading a book. When you open the next page, the page comes from right to left regardless of text direction. When you go to previous page, it comes from left to right similarly. Hence, we will probably won't change the default behavior, but we are working on more customization of the the animations.
@Yasser85 Transition direction is currently designed to resemble reading a book. When you open the next page, the page comes from right to left regardless of text direction. When you go to previous page, it comes from left to right similarly. Hence, we will probably won't change the default behavior, but we are working on more customization of the the animations.
Actually, this is wrong. In all RTL languages (Arabic, Urdu, Farsi, Hebrew, .... ), the books go right to left. Which means when you open the next page, the page comes from left to right. Also when you use something like page indicator or toggle buttons inside woltsheets to make it easy to navigate between sheets, then changing the active button or current indicator dot will go with the direction (which is RTL in this case), but the animation will go opposite which looks unsurprisingly weird. (I hope the idea is clear)
So, at least if there is a way to disable the transition animation completely, it will be appreciated.
Thanks for the good work and this nice package.
Thanks! Today I learned something new. On Monday I will discuss with our motions designers 🫡 I will fix this accordingly.
After discussing with the motion team internally, we realized that this is a bug we should fix.
OK, thank you.
This is available now as part of 0.8.0
Ability to choose rtl transition direction when navigate to another page
Hello I'm working on an app that supports both Right-to-Left and Left-to-Right directions for multi languages by simply wrapping with Directionality widget. I have a WoltModalSheet with 3 wolt pages in the HomePage. The sliding animation direction between SliverWoltModalSheetPage is always goes LTR even when I set the direction to RTL in parent widget. for example:
I'm not sure if there is a way or some work around to do that, please tell me if there is any. But it will be nice if there was a direct way to handle the slide direction automatically or manually. Thanks in advance.