Showing
1 changed file
with
4 additions
and
1 deletions
@@ -223,6 +223,8 @@ extension ExtensionDialog on GetInterface { | @@ -223,6 +223,8 @@ extension ExtensionDialog on GetInterface { | ||
223 | Object arguments, | 223 | Object arguments, |
224 | Duration transitionDuration, | 224 | Duration transitionDuration, |
225 | Curve transitionCurve, | 225 | Curve transitionCurve, |
226 | + String name, | ||
227 | + RouteSettings routeSettings, | ||
226 | }) { | 228 | }) { |
227 | assert(widget != null); | 229 | assert(widget != null); |
228 | assert(barrierDismissible != null); | 230 | assert(barrierDismissible != null); |
@@ -258,7 +260,8 @@ extension ExtensionDialog on GetInterface { | @@ -258,7 +260,8 @@ extension ExtensionDialog on GetInterface { | ||
258 | ); | 260 | ); |
259 | }, | 261 | }, |
260 | useRootNavigator: useRootNavigator, | 262 | useRootNavigator: useRootNavigator, |
261 | - routeSettings: RouteSettings(arguments: arguments), | 263 | + routeSettings: |
264 | + routeSettings ?? RouteSettings(arguments: arguments, name: name), | ||
262 | ); | 265 | ); |
263 | } | 266 | } |
264 | 267 |
-
Please register or login to post a comment