kluverua
Committed by GitHub

Merge pull request #1 from kluverua/kluverua-patch-1

Update get_main.dart
@@ -184,7 +184,8 @@ class GetImpl implements GetService { @@ -184,7 +184,8 @@ class GetImpl implements GetService {
184 Object arguments, 184 Object arguments,
185 Bindings binding, 185 Bindings binding,
186 bool fullscreenDialog = false, 186 bool fullscreenDialog = false,
187 - Transition transition}) { 187 + Transition transition,
  188 + Duration duration}) {
188 var route = (Route<dynamic> rota) => false; 189 var route = (Route<dynamic> rota) => false;
189 190
190 return global(id).currentState.pushAndRemoveUntil( 191 return global(id).currentState.pushAndRemoveUntil(
@@ -197,6 +198,7 @@ class GetImpl implements GetService { @@ -197,6 +198,7 @@ class GetImpl implements GetService {
197 name: '/' + page.toString().toLowerCase(), arguments: arguments), 198 name: '/' + page.toString().toLowerCase(), arguments: arguments),
198 fullscreenDialog: fullscreenDialog, 199 fullscreenDialog: fullscreenDialog,
199 transition: transition ?? defaultTransition, 200 transition: transition ?? defaultTransition,
  201 + transitionDuration: duration ?? defaultDurationTransition,
200 ), 202 ),
201 predicate ?? route); 203 predicate ?? route);
202 } 204 }