fadeInBottomRight static method

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

从右下角淡入动画

Implementation

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