tcard 0.1.0
tcard: ^0.1.0 copied to clipboard
Tinder like cards
TCard #
[example]
Install #
Uasge #
TCard(
cards: [
Container(color: Colors.blue),
Container(color: Colors.yellow),
Container(color: Colors.red),
],
)
Property #
property | type | default | description | required |
---|---|---|---|---|
cards | List<Widget> |
null |
Render cards | true |
size | Size |
null |
Card size | false |
controller | TCardController |
null |
Card controller | false |
onForward | ForwardCallback |
null |
Forward animation callback | false |
onBack | BackCallback |
null |
Back animation callback | false |
onEnd | EndCallback |
null |
Forward end callback | false |
Contribute #
- Fork it (https://github.com/xrr2016/tcard.git)
- Create your feature branch (git checkout -b feature/foo)
- Commit your changes (git commit -am 'Add some foo')
- Push to the branch (git push origin feature/foo)
- Create a new Pull Request
License #
MIT