Jonny Borges
Committed by GitHub

Merge pull request #2620 from pbkhurshidddbek/page-transition

Theme pageTransition
@@ -723,7 +723,10 @@ Cannot read the previousTitle for a route that has not yet been installed''', @@ -723,7 +723,10 @@ Cannot read the previousTitle for a route that has not yet been installed''',
723 route.alignment, animation, secondaryAnimation, child); 723 route.alignment, animation, secondaryAnimation, child);
724 } 724 }
725 725
726 - return PageTransitionsTheme().buildTransitions( 726 + PageTransitionsTheme pageTransitionsTheme =
  727 + Theme.of(context).pageTransitionsTheme;
  728 +
  729 + return pageTransitionsTheme.buildTransitions(
727 route, 730 route,
728 context, 731 context,
729 iosAnimation, 732 iosAnimation,