select method

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

Implementation

Widget select(Widget view, AnimType type) {
  switch (type) {
    case AnimType.none:
      return slideLeft(view);
    case AnimType.card:
      return slideLeft(view);
    case AnimType.diagonal:
      return slideLeft(view);
    case AnimType.fade:
      return fade(view);
    case AnimType.inAndOut:
      return slideLeft(view);
    case AnimType.shrink:
      return slideLeft(view);
    case AnimType.spin:
      return slideLeft(view);
    case AnimType.split:
      return slideLeft(view);
    case AnimType.slideLeft:
      return slideLeft(view);
    case AnimType.slideRight:
      return slideRight(view);
    case AnimType.slideDown:
      return slideRight(view);
    case AnimType.slideUp:
      return slideRight(view);
    case AnimType.swipeLeft:
      return slideRight(view);
    case AnimType.swipeRight:
      return slideRight(view);
    case AnimType.windmill:
      return slideRight(view);
    case AnimType.zoom:
      return slideRight(view);
  }
}