Khurshidbek Sobirov

Theme pageTransition

Currently, GetX does not use theme pagaTransition, default transition is not taken from theme. It is somehow hard to customize pageTranstion though CustomTransition.
That’s why I changed default page transtion.
It is easy to set custom transition through ThemeData.
@@ -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,