animationPage static method
自定义转场动画进入页面 flutter页面通过animatedBuilder自定义动画 native页面会转发到native,由native自行接入实现 replace:true flutter的pushReplacement实现 replace:false flutter的push实现
Implementation
@Deprecated('已废弃,请使用pushWithAnimation')
static Future animationPage(
String routeName,
PageType pageType,
AnimatedPageBuilder animatedBuilder, {
Map? params,
Duration? transitionDuration,
bool opaque = true,
bool barrierDismissible = false,
Color? barrierColor,
String? barrierLabel,
bool maintainState = true,
bool fullscreenDialog = false,
bool replace = false,
}) {
return DNavigatorManager.animationPage(
routeName,
pageType,
animatedBuilder,
params,
transitionDuration,
opaque,
barrierDismissible,
barrierColor,
barrierLabel,
maintainState,
fullscreenDialog,
replace);
}