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