FlipWidget({
flipType: FlipType.spinFlip, // Change flip effect
itemStream: _stream, // it is basically the length of Stacked Widgets.
itemBuilder: _itemBuilder, // Body of your Widget
flipDirection: AxisDirection.right, // flip up, down, left, right.
});
2
Answers
As my opinion you should use animationOpacity like this :
i made one demo for you please check it.
flip_board
(https://pub.dev/packages/flip_board#middle-flip) package does exactly what you want.Sample Code : –
This package has many more methods and Widget types, to learn more about it vist the official page : – https://pub.dev/packages/flip_board#middle-flip
Complete Code : –
Output : –