fadeInDownBig static method

SlideTransition fadeInDownBig(
  1. Animation<double> animation,
  2. Widget child
)

使用给定的动画将小部件淡入并向下滑动,滑动距离更大。

Implementation

static SlideTransition fadeInDownBig(
  Animation<double> animation,
  Widget child,
) {
  return SlideTransition(
    position: Tween<Offset>(
      begin: const Offset(0.0, -5.0),
      end: Offset.zero,
    ).animate(animation),
    child: fadeIn(animation, child),
  );
}