Open xster opened 5 years ago
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.
cc @HansMuller
On the current dev channel the PageTransitionsTheme doesn't account for the transition duration accordingly to his contructor:
dev
https://github.com/flutter/flutter/blob/1840b7121a6a721484afca300265c7866e82dc77/packages/flutter/lib/src/material/page_transitions_theme.dart#L563-L570
I was able to reproduce this in 1.21.0-1.0.pre.
1.21.0-1.0.pre
The code hasn't changed since https://github.com/flutter/flutter/issues/29068#issuecomment-659985200
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.
cc @HansMuller