Ravi Parmar
Committed by GitHub

Added ciruclarReveal

@@ -461,6 +461,22 @@ Cannot read the previousTitle for a route that has not yet been installed''', @@ -461,6 +461,22 @@ Cannot read the previousTitle for a route that has not yet been installed''',
461 onStartPopGesture: () => _startPopGesture<T>(route), 461 onStartPopGesture: () => _startPopGesture<T>(route),
462 child: child) 462 child: child)
463 : child); 463 : child);
  464 +
  465 + case Transition.ciruclarReveal:
  466 + return CircularRevealTransition().buildTransitions(
  467 + context,
  468 + route.curve,
  469 + route.alignment,
  470 + animation,
  471 + secondaryAnimation,
  472 + route.popGesture ?? Get.defaultPopGesture
  473 + ? CupertinoBackGestureDetector<T>(
  474 + gestureWidth: route.gestureWidth?.call(context) ??
  475 + _kBackGestureWidth,
  476 + enabledCallback: () => _isPopGestureEnabled<T>(route),
  477 + onStartPopGesture: () => _startPopGesture<T>(route),
  478 + child: child)
  479 + : child);
464 480
465 default: 481 default:
466 if (Get.customTransition != null) { 482 if (Get.customTransition != null) {