flip method

Widget flip({
  1. Duration duration = const Duration(milliseconds: 350),
  2. Duration delay = Duration.zero,
  3. AnimationController? controller,
  4. bool startAnimation = true,
  5. bool loop = false,
  6. double viewPort = 0.1,
  7. NextFlipVariant variant = NextFlipVariant.flipX,
})

Implementation

Widget flip(
    {Duration duration = const Duration(milliseconds: 350),
    Duration delay = Duration.zero,
    AnimationController? controller,
    bool startAnimation = true,
    bool loop = false,
    double viewPort = 0.1,
    NextFlipVariant variant = NextFlipVariant.flipX}) {
  return NextFlipAnimation(
    duration: duration,
    delay: delay,
    controller: controller,
    startAnimation: startAnimation,
    variant: variant,
    viewPort: viewPort,
    child: this,
  );
}