Skip to content

Commit

Permalink
更新跳转页方式
Browse files Browse the repository at this point in the history
  • Loading branch information
hanxu317317 committed Feb 20, 2019
1 parent 83bbf02 commit 02518a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/components/widget_item_container.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import 'package:flutter/material.dart';

import 'package:fluro/fluro.dart';
import './widget_item.dart';
import '../routers/application.dart';
import '../widgets/index.dart';
Expand Down Expand Up @@ -43,10 +43,10 @@ class WidgetItemContainer extends StatelessWidget {
targetRouter = item.routerName;
}
});
Application.router.navigateTo(context, "$targetRouter");
Application.router.navigateTo(context, "$targetRouter", transition: TransitionType.inFromRight);
} else {
Application.router
.navigateTo(context, "/category/${item.name}");
.navigateTo(context, "/category/${item.name}", transition: TransitionType.inFromRight);
}
},
index: addI,
Expand Down

0 comments on commit 02518a5

Please sign in to comment.