Showing
2 changed files
with
13 additions
and
14 deletions
| @@ -157,19 +157,18 @@ class GetPageRoute<T> extends PageRoute<T> { | @@ -157,19 +157,18 @@ class GetPageRoute<T> extends PageRoute<T> { | ||
| 157 | } | 157 | } |
| 158 | if (customTransition != null) { | 158 | if (customTransition != null) { |
| 159 | return customTransition.buildTransition( | 159 | return customTransition.buildTransition( |
| 160 | - context, | ||
| 161 | - finalCurve, | ||
| 162 | - alignment, | ||
| 163 | - animation, | ||
| 164 | - secondaryAnimation, | ||
| 165 | - popGesture ?? Get.defaultPopGesture | ||
| 166 | - ? _CupertinoBackGestureDetector<T>( | ||
| 167 | - enabledCallback: () => _isPopGestureEnabled<T>(this), | ||
| 168 | - onStartPopGesture: () => _startPopGesture<T>(this), | ||
| 169 | - child: child) | ||
| 170 | - : child, | ||
| 171 | - ); | ||
| 172 | - | 160 | + context, |
| 161 | + finalCurve, | ||
| 162 | + alignment, | ||
| 163 | + animation, | ||
| 164 | + secondaryAnimation, | ||
| 165 | + popGesture ?? Get.defaultPopGesture | ||
| 166 | + ? _CupertinoBackGestureDetector<T>( | ||
| 167 | + enabledCallback: () => _isPopGestureEnabled<T>(this), | ||
| 168 | + onStartPopGesture: () => _startPopGesture<T>(this), | ||
| 169 | + child: child) | ||
| 170 | + : child, | ||
| 171 | + ); | ||
| 173 | } | 172 | } |
| 174 | 173 | ||
| 175 | /// Apply the curve by default... | 174 | /// Apply the curve by default... |
| @@ -182,7 +182,7 @@ class Worker { | @@ -182,7 +182,7 @@ class Worker { | ||
| 182 | 182 | ||
| 183 | //final bool _verbose = true; | 183 | //final bool _verbose = true; |
| 184 | void _log(String msg) { | 184 | void _log(String msg) { |
| 185 | - // if (!_verbose) return; | 185 | + // if (!_verbose) return; |
| 186 | GetConfig.log('$runtimeType $type $msg'); | 186 | GetConfig.log('$runtimeType $type $msg'); |
| 187 | } | 187 | } |
| 188 | 188 |
-
Please register or login to post a comment