Commit Graph

126 Commits

Author SHA1 Message Date
ricardodalarme 1b3e905e82 feat(controller): add method to jump to index without animation (#25) 2024-01-28 14:40:11 -03:00
ricardodalarme a79449dfe6 feat: update controller to use stream 2024-01-28 14:36:32 -03:00
ricardodalarme 7b79e303f7 chore: upgrade min sdk version to 3.0.0 2024-01-28 14:36:32 -03:00
ricardodalarme bea7ea77a5 chore(ios): update example native files 2024-01-28 14:36:32 -03:00
ricardodalarme b8e15e0e5b refactor: improve code organization 2024-01-28 14:36:32 -03:00
ricardodalarme 266f5f8628 fix(lint): format code with dart format 2024-01-09 21:06:22 -03:00
ricardodalarme bfd9185284 refactor: improve _onEndAnimation legibility 2024-01-09 15:07:06 -03:00
ricardodalarme 3bf329de34 chore(package): release v6.1.0 2024-01-09 14:51:07 -03:00
ricardodalarme b3ae883683 chore(lint): update lint rules 2024-01-09 14:48:01 -03:00
ricardodalarme 146ec762b2 feat: impove type inference 2024-01-09 14:47:23 -03:00
ricardodalarme c1b0ca39e3 feat(AllowedSwipeDirection): make only and symmetric const constructors 2024-01-09 14:47:13 -03:00
Husain Fadhilah 6df02e36ea
Fix: cannot access context in `onSwipe` when no cards left then "destroy" the widget tree (#29) 2024-01-09 14:38:03 -03:00
sarope 1f23f08ea1
feat: additional info to cardBuilder (#22)
Additional swiping info to cardBuilder callback
Add an additional callback containing the horizontal and vertical swipe direction 

Co-authored-by: samuel.peirson.knowunity <samuel.peirson@knowunity.com>
2023-06-26 16:04:31 -03:00
ricardodalarme f1ab70fd99 chore(pubspec): allow dart 3 2023-06-08 22:15:27 -03:00
ricardodalarme a7a4096947 chore: remove coverage report file 2023-06-03 14:01:54 -03:00
ricardodalarme 5b1a3f80c7 change: remove deprecated methods 2023-06-03 13:32:05 -03:00
ricardodalarme 44faeebb08 fix(lint): adjust lint errors 2023-05-15 11:27:53 -03:00
jawwadhassan b1c4faf998 fix: remove deprecated annotations from card_animation.dart 2023-05-11 18:29:25 +05:00
jawwadhassan 8b68e62f21 docs: bump the version in pubspec.yaml, update the docs in README.md and CHANGELOG.md 2023-05-11 18:08:18 +05:00
jawwadhassan fe77440a35 refactor: update allowedSwipeDirection param names 2023-05-11 17:35:18 +05:00
jawwadhassan 9976486d02 feat: add the functionality to allow swipes individually in left, right, up or/and down directions 2023-05-11 17:30:28 +05:00
Jawwad Hassan c55edd8d44 docs: update dart docs for scale scale and backCardOffset 2023-05-05 10:20:42 +05:00
Jawwad Hassan aaf0b187a3 docs: update CHANGELOG.md and bump version in pubspec.yaml 2023-05-04 16:16:28 +05:00
Jawwad Hassan 347c9fdcd5 feat: add support for handling negative backCardOffset 2023-05-04 16:03:41 +05:00
Jawwad Hassan efed38b755 fix: card does not scale down after reaching 1.0 2023-05-04 10:14:56 +05:00
Jawwad Hassan 2a6f91ef8c fix: properly show the number of cards with respect to the numberOfCards param 2023-05-03 17:47:32 +05:00
Ricardo Dalarme b2dd0e001f
feat: allow customize the backcard offset (#12) 2023-05-01 13:57:53 -03:00
Andrea Valenzano 852480fb57
fix: remove controller dispose and add removeListener (#16) 2023-04-24 13:04:41 -03:00
Ricardo Dalarme 3644453742
docs(readme): fix swipeBottom description 2023-04-21 11:34:38 -03:00
Ricardo Dalarme 76b24c21db
docs(readme): simplify the constructor description 2023-04-18 00:25:58 -03:00
Ricardo Dalarme 589718c4b4
docs(readme): simplify the controller explanation 2023-04-18 00:16:04 -03:00
kzrnm 095d46f21a
fix: swiping through the `controller` when `isDisable` is `true` (#15)
- When isDisable was true it wasn't possible to swipe using the controller
2023-04-17 22:33:04 -03:00
ricardodalarme 75d8ebe903 fix: pass the axis disabled to the card_animation (#13) 2023-04-12 00:13:43 -03:00
ricardodalarme 946d560b6f feat(callbacks): change `onSwipe` and `onEnd` to be FutureOr (#14) 2023-04-11 09:58:13 -03:00
Ricardo Dalarme 61aa3cdde7
chore(github): add funding file 2023-04-05 23:47:01 -03:00
ricardodalarme 2cb3536d66 test: add some helpers to simplify the tests 2023-03-29 10:43:28 -03:00
ricardodalarme ba2bb6a625 tests: include more tests 2023-03-28 00:18:14 -03:00
ricardodalarme ba5a39d341 chore(ci): add code coverage report 2023-03-27 23:43:46 -03:00
ricardodalarme 909c2fa00b tests(card_swiper): add tests for card_swiper 2023-03-26 13:09:10 -03:00
ricardodalarme 4a6f664b1d feat(release): trigger also with tags that have a posfix 2023-03-26 11:32:18 -03:00
ricardodalarme 3abd2b059d docs: update the readme
* Add references to the new undo feature
* Use images from the repository itself
* Adjust some typos
2023-03-26 11:25:26 -03:00
ricardodalarme b5bb8f5c9a feat: add undo feature (#1) 2023-03-25 18:01:30 -03:00
ricardodalarme 23c5e9f0d3 refactor(tests): update the controller test description 2023-03-25 16:53:59 -03:00
ricardodalarme 9288df4d65 test: add tests for the isBetween function 2023-03-25 16:53:59 -03:00
ricardodalarme 8330f0bc80 refactor: add an animation layer to split responsibilities 2023-03-25 16:53:59 -03:00
ricardodalarme 2d378c7d65 fix(release): force publish to avoid getting stuck in the accept step 2023-03-25 10:39:48 -03:00
ricardodalarme 5bf80d010a fix(onSwipe): fix onSwipe callback being called twice 2023-03-25 10:19:37 -03:00
ricardodalarme c763e1f2db chore(package): release v4.0.1 2023-03-24 10:30:49 -03:00
ricardodalarme d10765ad75 chore(ci): create tag and publish when pubspec version changes 2023-03-24 10:30:49 -03:00
ricardodalarme 2a93440b85 change(example): remove cancel swipe example on OnSwipe callback
* It was removed because it can cause users to think that there is a bug
  in the library, because the swipe is canceled
2023-03-23 23:28:51 -03:00