EasyTransition.fadePushReplacement constructor
EasyTransition.fadePushReplacement({})
the default constructor will PushReplacement a fade transition
Implementation
EasyTransition.fadePushReplacement({
required this.child,
required this.pageToPush,
this.newRoute = false,
this.isDisabled = false,
}) {
_type = 1;
_navigationType = NavigationType.PushReplacement;
}