Skip to content

Commit

Permalink
Merge pull request alibaba#152 from hanxu317317/develop
Browse files Browse the repository at this point in the history
更新跳转页方式
  • Loading branch information
hanxu317317 authored Feb 20, 2019
2 parents 42c2b31 + 02518a5 commit ef0b12e
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 ef0b12e

Please sign in to comment.