diff --git a/.DS_Store b/.DS_Store index 26c0a534..0d88dba8 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/lib/.DS_Store b/lib/.DS_Store new file mode 100644 index 00000000..6de46510 Binary files /dev/null and b/lib/.DS_Store differ diff --git a/lib/get_navigation/src/routes/default_transitions.dart b/lib/get_navigation/src/routes/default_transitions.dart index e6cad4a8..44279941 100644 --- a/lib/get_navigation/src/routes/default_transitions.dart +++ b/lib/get_navigation/src/routes/default_transitions.dart @@ -5,12 +5,13 @@ import 'circular_reveal_clipper.dart'; class LeftToRightFadeTransition { Widget buildTransitions( - BuildContext context, - Curve? curve, - Alignment? alignment, - Animation animation, - Animation secondaryAnimation, - Widget child) { + BuildContext context, + Curve? curve, + Alignment? alignment, + Animation animation, + Animation secondaryAnimation, + Widget child, + ) { return SlideTransition( position: Tween( begin: const Offset(-1.0, 0.0), diff --git a/lib/get_navigation/src/routes/get_transition_mixin.dart b/lib/get_navigation/src/routes/get_transition_mixin.dart index bd3e1574..03e8c5a9 100644 --- a/lib/get_navigation/src/routes/get_transition_mixin.dart +++ b/lib/get_navigation/src/routes/get_transition_mixin.dart @@ -360,7 +360,7 @@ Cannot read the previousTitle for a route that has not yet been installed''', Animation animation, Animation secondaryAnimation, Widget child, { - bool limitedSwipe = false, + bool limitedSwipe = true, double initialOffset = 0, }) { // Check if the route has an animation that's currently participating @@ -605,7 +605,7 @@ Cannot read the previousTitle for a route that has not yet been installed''', assert(_isPopGestureEnabled(route, canSwipe(route), context)); return _startPopGesture(route); }, - limitedSwipe: true, + limitedSwipe: limitedSwipe, gestureWidth: route.gestureWidth?.call(context) ?? _kBackGestureWidth, initialOffset: initialOffset,