card_stack_widget 0.0.1
card_stack_widget: ^0.0.1 copied to clipboard
A vertical dismissible and customizable stack of cards for Flutter applications
example/README.md
CardStackWidget #
A vertical dismissible stack of cards for a Flutter application. The widget provided is CardStackWidget. You can customize the position and scale factor of the card list with the property positionFactor and scaleFactor.
Supported properties #
CardStackWidget
| Property | Type |
|---|---|
| cardList | List of CardModel |
| cardDismissOrientation | CardOrientation (enum) |
| reverseOrder | bool |
| alignment | Alignment |
| scaleFactor | double |
| positionFactor | double |
| swipeOrientation | CardOrientation (enum) |
CardModel
| Property | Type |
|---|---|
| shadowColor | Color |
| backgroundColor | Color |
| radius | double |
| child | Widget |
Example: