Ravi Parmar
Committed by GitHub

Added ciruclarReveal

@@ -462,6 +462,22 @@ Cannot read the previousTitle for a route that has not yet been installed''', @@ -462,6 +462,22 @@ Cannot read the previousTitle for a route that has not yet been installed''',
462 child: child) 462 child: child)
463 : child); 463 : child);
464 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);
  480 +
465 default: 481 default:
466 if (Get.customTransition != null) { 482 if (Get.customTransition != null) {
467 return Get.customTransition!.buildTransition(context, route.curve, 483 return Get.customTransition!.buildTransition(context, route.curve,