You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PageTransitionsTheme needs to account for transition duration as well #29068
Currently MaterialPageRoute is just hardcoded to have a transition duration of 300ms and CupertinoPageRoute, 400ms. A MaterialPageRoute using CupertinoPageTransitionsBuilder via PageTransitionsTheme uses the wrong time duration.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
pedromassangocode commentedon Jul 17, 2020
On the current
devchannel the PageTransitionsTheme doesn't account for the transition duration accordingly to his contructor:flutter/packages/flutter/lib/src/material/page_transitions_theme.dart
Lines 563 to 570 in 1840b71
I was able to reproduce this in
1.21.0-1.0.pre.flutter doctor -v
danagbemava-nc commentedon Nov 1, 2022
The code hasn't changed since #29068 (comment)
flutter/packages/flutter/lib/src/material/page_transitions_theme.dart
Lines 563 to 570 in 1840b71
2 remaining items
Match CupertinoPageTransitionsBuilder animation duration to Cupertino…
Reverts "Match CupertinoPageTransitionsBuilder animation duration to …
Match CupertinoPageTransitionsBuilder animation duration to Cupertino…
Reverts "Match CupertinoPageTransitionsBuilder animation duration to …
Match CupertinoPageTransitionsBuilder animation duration to Cupertino…
Match CupertinoPageTransitionsBuilder animation duration to Cupertino…
github-actions commentedon Feb 6, 2025
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.