EasyTransition.scalePushAndRemoveUntil constructor

EasyTransition.scalePushAndRemoveUntil({
  1. required Widget child,
  2. required Widget pageToPush,
  3. Curve? curve,
  4. Curve? reverseCurve,
  5. int? reverseTransitionDurationMilliseconds,
  6. int? transitionDurationMilliseconds,
  7. Alignment? transitionAlignment,
  8. bool? newRoute = false,
  9. bool isDisabled = false,
})

the default constructor will PushAndRemoveUntil a scale transition

Implementation

EasyTransition.scalePushAndRemoveUntil({
  required this.child,
  required this.pageToPush,
  this.curve,
  this.reverseCurve,
  this.reverseTransitionDurationMilliseconds,
  this.transitionDurationMilliseconds,
  this.transitionAlignment,
  this.newRoute = false,
  this.isDisabled = false,
}) {
  _type = 0;

  _navigationType = NavigationType.PushAndRemoveUntil;
}