fadeInBottomLeft static method

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

从左下角淡入动画

Implementation

static SlideTransition fadeInBottomLeft(
  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),
  );
}