mirror of
https://github.com/alibaba/flutter-go.git
synced 2025-05-17 12:55:57 +08:00
build: TransitionType.inFromRight to TransitionType.native
This commit is contained in:
@ -448,7 +448,7 @@ class _History extends State<History> {
|
||||
onTap: () {
|
||||
Application.router.navigateTo(
|
||||
context, "${targetRouter.toLowerCase()}",
|
||||
transition: TransitionType.inFromRight);
|
||||
transition: TransitionType.native);
|
||||
},
|
||||
child: Chip(
|
||||
avatar: icon,
|
||||
|
@ -23,7 +23,7 @@ class WidgetItemContainer extends StatelessWidget {
|
||||
/// 跳转goup
|
||||
void tapToGroup(CategoryComponent cate, BuildContext context) {
|
||||
Application.router.navigateTo(context, "/category/${cate.token}",
|
||||
transition: TransitionType.inFromRight);
|
||||
transition: TransitionType.native);
|
||||
}
|
||||
|
||||
/// 跳转到老的widget界面
|
||||
@ -37,14 +37,14 @@ class WidgetItemContainer extends StatelessWidget {
|
||||
}
|
||||
});
|
||||
Application.router.navigateTo(context, targetRouter,
|
||||
transition: TransitionType.inFromRight);
|
||||
transition: TransitionType.native);
|
||||
}
|
||||
|
||||
/// 跳转到新的标准页
|
||||
void tapToStandardPage(WidgetLeaf leaf, BuildContext context) {
|
||||
String targetRouter = '/standard-page/${leaf.pageId}';
|
||||
Application.router.navigateTo(context, targetRouter,
|
||||
transition: TransitionType.inFromRight);
|
||||
transition: TransitionType.native);
|
||||
}
|
||||
|
||||
List<Widget> _buildColumns(context) {
|
||||
@ -81,7 +81,7 @@ class WidgetItemContainer extends StatelessWidget {
|
||||
|
||||
Application.router.navigateTo(
|
||||
context, "/category/error/404",
|
||||
transition: TransitionType.inFromRight);
|
||||
transition: TransitionType.native);
|
||||
},
|
||||
index: addI,
|
||||
totalCount: length,
|
||||
|
@ -115,7 +115,7 @@ class _CollectionFullPageState extends State<CollectionFullPage> {
|
||||
Icon(Icons.keyboard_arrow_right, color: Colors.grey, size: 30.0),
|
||||
onTap: () {
|
||||
Application.router.navigateTo(context, targetRouter.toLowerCase(),
|
||||
transition: TransitionType.inFromRight);
|
||||
transition: TransitionType.native);
|
||||
},
|
||||
),
|
||||
);
|
||||
|
@ -107,7 +107,7 @@ class _MyHomePageState extends State<AppPage>
|
||||
.add(SearchHistory(name: targetName, targetRouter: targetRouter));
|
||||
print("searchHistoryList1 ${searchHistoryList.toString()}");
|
||||
Application.router.navigateTo(context, targetRouter.toLowerCase(),
|
||||
transition: TransitionType.inFromRight);
|
||||
transition: TransitionType.native);
|
||||
}
|
||||
|
||||
Widget buildSearchInput(BuildContext context) {
|
||||
|
Reference in New Issue
Block a user