swipeable_card
swipeable_card copied to clipboard
🂱 [WIP] A Flutter package to implement smooth swipeable playing card like-widgets
- Updated to null-safety (dart version 2.12.2) (mostly used new late and required keyword) - Removed one unused dependency - Replaced `FlatButton` with `TextButton` as `FlatButton` is deprectated
As this package is not null safe, I went ahead and made the PR #11 to make the library null-safe (and therefore compatible with older versions), but also modernise the...
Is it possible to add this feature
When the card is being moved by the finger, it should rotate slightly, giving a more natural feel
Sensitivity is the multiplier value for card scrolling. Something like this: ``` _childAlign = Alignment( _childAlign.x + SENSITIVITY * details.delta.dx / screenWidth, _childAlign.y + SENSITIVITY * details.delta.dy / screenHeight, );...