Commit 5691592f authored by Vadaski's avatar Vadaski

fixed missing call super issue

BoostPageRoute 重写的 buildTransitions 返 MaterialPageRoute.buildTransitions 的结果,避免了 CupertinoPageRoute 跳转页面首页面跳转动画 secondaryAnimation 失效问题
parent 9a469c08
......@@ -39,7 +39,7 @@ class BoostPageRoute<T> extends MaterialPageRoute<T> {
@override
Widget buildTransitions(BuildContext context, Animation<double> animation,
Animation<double> secondaryAnimation, Widget child) {
return child;
return super.buildTransitions(context, animation, secondaryAnimation, child);
}
BoostPageRoute(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment