flipper 1.0.1

Flutter Android iOS web

A widget that does transition between two children in a flipping manner.

flipper #

preview

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,
)
3
likes
110
pub points
42%
popularity

A widget that does transition between two children in a flipping manner.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

dokoussov@gmail.com

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flipper