popTransition property
Configures the transition animation used when this page is popped.
This can be set to one of the default built-in transitions:
- PageTransition.none - an immediate transition without any animation.
- PageTransition.fadeUpwards - the default Android fade-up animation.
- PageTransition.cupertino - the default iOS slide-in animation.
- PageTransition.zoom - a zoom animation used on Android 10.
Alternatively you can subclass PageTransition to create your own custom animation.
If this value is null, the platform default transition is used.
Implementation
final PageTransition? popTransition;