Closed JonasHiltl closed 2 years ago
I use this package with navigator 2.0. Instead of MaterialPage I use TransitionPage defined like below:
class TransitionPage
const TransitionPage({ LocalKey? key, String? name, Object? arguments, required this.transition, required this.child, }) : super(key: key, name: name, arguments: arguments);
@override
Route
I'm defining an App Navigator that shows screens based on the state of my app. The screens are wrapped with a MaterialPage but I would like to implement pageTransitions with this logic. Is it possible to implement page transitions with this kind of logic or would I have to define the routes through
onGenerateRoute
?I would for example like the
Home
screen to always fade in with the transitionPageTransitionType.fade