select method

Widget select(
  1. Widget view,
  2. AnimationType type
)

Implementation

Widget select(Widget view, AnimationType type) {
  switch (type) {
    case AnimationType.none:
      return _slideLeft(view);
    case AnimationType.card:
      return _slideLeft(view);
    case AnimationType.diagonal:
      return _slideLeft(view);
    case AnimationType.fadeIn:
      return _fadeIn(view);
    case AnimationType.inAndOut:
      return _slideLeft(view);
    case AnimationType.rotation:
      return _rotation(view);
    case AnimationType.shrink:
      return _slideLeft(view);
    case AnimationType.split:
      return _slideLeft(view);
    case AnimationType.slideLeft:
      return _slideLeft(view);
    case AnimationType.slideRight:
      return _slideRight(view);
    case AnimationType.slideDown:
      return _slideDown(view);
    case AnimationType.slideUp:
      return _slideUp(view);
    case AnimationType.slideLeftWithFade:
      return _slideLeftWithFade(view);
    case AnimationType.slideRightWithFade:
      return _slideRightWithFade(view);
    case AnimationType.slideDownWithFade:
      return _slideDownWithFade(view);
    case AnimationType.slideUpWithFade:
      return _slideUpWithFade(view);
    case AnimationType.swipeLeft:
      return _slideRight(view);
    case AnimationType.swipeRight:
      return _slideRight(view);
    case AnimationType.windmill:
      return _slideRight(view);
    case AnimationType.zoom:
      return _zoom(view);
    case AnimationType.zoomWithFade:
      return _zoomWithFade(view);
  }
}