@@ -161,7 +161,7 @@ class GoRouter implements RouterConfig<RouteMatchList> {
161
161
);
162
162
163
163
assert (() {
164
- log. info ('setting initial location $initialLocation ' );
164
+ log ('setting initial location $initialLocation ' );
165
165
return true ;
166
166
}());
167
167
}
@@ -338,13 +338,13 @@ class GoRouter implements RouterConfig<RouteMatchList> {
338
338
/// Navigate to a URI location w/ optional query parameters, e.g.
339
339
/// `/family/f2/person/p1?color=blue`
340
340
void go (String location, {Object ? extra}) {
341
- log. info ('going to $location ' );
341
+ log ('going to $location ' );
342
342
routeInformationProvider.go (location, extra: extra);
343
343
}
344
344
345
345
/// Restore the RouteMatchList
346
346
void restore (RouteMatchList matchList) {
347
- log. info ('restoring ${matchList .uri }' );
347
+ log ('restoring ${matchList .uri }' );
348
348
routeInformationProvider.restore (
349
349
matchList.uri.toString (),
350
350
matchList: matchList,
@@ -376,7 +376,7 @@ class GoRouter implements RouterConfig<RouteMatchList> {
376
376
/// it as the same page. The page key will be reused. This will preserve the
377
377
/// state and not run any page animation.
378
378
Future <T ?> push <T extends Object ?>(String location, {Object ? extra}) async {
379
- log. info ('pushing $location ' );
379
+ log ('pushing $location ' );
380
380
return routeInformationProvider.push <T >(
381
381
location,
382
382
base : routerDelegate.currentConfiguration,
@@ -409,7 +409,7 @@ class GoRouter implements RouterConfig<RouteMatchList> {
409
409
/// state and not run any page animation.
410
410
Future <T ?> pushReplacement <T extends Object ?>(String location,
411
411
{Object ? extra}) {
412
- log. info ('pushReplacement $location ' );
412
+ log ('pushReplacement $location ' );
413
413
return routeInformationProvider.pushReplacement <T >(
414
414
location,
415
415
base : routerDelegate.currentConfiguration,
@@ -448,7 +448,7 @@ class GoRouter implements RouterConfig<RouteMatchList> {
448
448
/// * [pushReplacement] which replaces the top-most page of the page stack but
449
449
/// always uses a new page key.
450
450
Future <T ?> replace <T >(String location, {Object ? extra}) {
451
- log. info ('replace $location ' );
451
+ log ('replace $location ' );
452
452
return routeInformationProvider.replace <T >(
453
453
location,
454
454
base : routerDelegate.currentConfiguration,
@@ -486,7 +486,7 @@ class GoRouter implements RouterConfig<RouteMatchList> {
486
486
/// of any GoRoute under it.
487
487
void pop <T extends Object ?>([T ? result]) {
488
488
assert (() {
489
- log. info ('popping ${routerDelegate .currentConfiguration .uri }' );
489
+ log ('popping ${routerDelegate .currentConfiguration .uri }' );
490
490
return true ;
491
491
}());
492
492
routerDelegate.pop <T >(result);
@@ -495,7 +495,7 @@ class GoRouter implements RouterConfig<RouteMatchList> {
495
495
/// Refresh the route.
496
496
void refresh () {
497
497
assert (() {
498
- log. info ('refreshing ${routerDelegate .currentConfiguration .uri }' );
498
+ log ('refreshing ${routerDelegate .currentConfiguration .uri }' );
499
499
return true ;
500
500
}());
501
501
routeInformationProvider.notifyListeners ();
0 commit comments