flip method
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,
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(
child: this,
duration: duration,
delay: delay,
controller: controller,
startAnimation: startAnimation,
variant: variant,
loop: loop,
viewPort: viewPort,
);
}