Last updated:
0 purchases
flipper
flipper #
How to use #
GlobalKey<FlipperState> _key = GlobalKey<FlipperState>();
var flipper = _key.currentState;
if (flipper.state == Turn.obverse) {
flipper.flipCard(Direction.right);
}
//...
Flipper(
key: _key,
initState: Turn.obverse,
onFlipCallback: (turn) => {/*...*/},
obverseChild: Container(),
reverseChild: Container(),
flipThreshold: 0.60,
duration: const Duration(milliseconds: 300),
ignoreSwipe: false,
)
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.