Commit Graph

131 Commits

Author SHA1 Message Date
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
ricardodalarme 33915ff416 docs: improve documentation 2023-03-23 23:28:51 -03:00
ricardodalarme 3d74bcedb2 refactor: remove generic type from CardSwiper
* After migrated to a builder function, the generic type is no longer
  needed.
2023-03-23 22:17:43 -03:00
Christian Richert 21ea7874ca
feat: onSwipe method can cancel the swipe (#9) 2023-03-23 22:11:42 -03:00
ricardodalarme 37fcbe4ebe chore: update the MIT license 2023-03-21 17:54:34 -03:00
ricardodalarme 3b868d1875 feat: add option to set the initial index 2023-03-20 10:07:38 -03:00
ricardodalarme db500bf458 feat(cards): render the items through a builder callback 2023-03-18 17:14:03 -03:00
ricardodalarme 5edd21e371 feat(callback): add currentIndex and previoudIndex to `onSwipe` (#7) 2023-03-18 16:18:41 -03:00
giboin a8cbd3a110
feature: display more cards behind the first one (#6) 2023-03-18 14:43:24 -03:00
ricardodalarme 6e40955758 chore(ci): update CI to include format and analyze commands 2023-03-18 12:32:24 -03:00
Ricardo Dalarme 37f1d5518e chore(package): release v2.0.1 2023-02-21 20:57:44 -03:00
Ricardo Dalarme b525ca91e8 chore(gitignore): ignore pubspec.lock as recommended in the dart documentation 2023-02-21 20:54:29 -03:00
Ricardo Dalarme 7fdcb099d9 fix(stack): use the stack to render the items 2023-02-21 20:51:34 -03:00
Ricardo Dalarme 6aa09f71dd chore(package): release version 2.0.0 2023-02-20 20:14:14 -03:00
Ricardo Dalarme 5f71cf9b4d feat: add option to control if the stack should loop 2023-02-20 20:14:14 -03:00
Ricardo Dalarme 4a8ea3afcf change(widget): make CardSwiper a generic of `Widget?` 2023-02-20 19:07:59 -03:00
Ricardo Dalarme 7405b15468 docs(contributing): add a contributing guide 2023-02-20 17:47:44 -03:00
Ricardo Dalarme 88833cc827 chore(ci): auto release on push to main 2023-02-20 17:17:46 -03:00
Ricardo Dalarme a84c6ec598
docs(constructor): fix missing is required param 2023-02-20 15:22:20 -03:00
giboin 00abce7aec update package version, readme and changelog 2023-02-20 14:05:45 -03:00
giboin 4d261c9231 added possibility to enable swiping only on one axis (horizontal or vertical) 2023-02-20 14:05:45 -03:00
Ricardo Dalarme 19a3f712a6
chore(ci): add statuses write permisson 2023-02-20 13:53:11 -03:00
Ricardo Dalarme a7dc12dc4e chore(pubspec): update dependencies 2023-02-09 09:44:44 -03:00
Ricardo Dalarme cad975117c chore(ci): add a workflow to test the code 2023-01-27 15:19:57 -03:00
Ricardo Dalarme 7aa5ce6e56 refactor(code): avoid unnecessary imports 2023-01-27 14:20:35 -03:00
Ricardo Dalarme 6e7e8a78fe feat(tests): add a test for the CardSwiperController 2023-01-27 14:20:14 -03:00
Ricardo Dalarme 8990e9e888 chore(package): release v1.2.0 2023-01-27 13:48:18 -03:00
Ricardo Dalarme da53a10b88 feat(scale): allow changing the default scale of the back card 2023-01-27 13:47:49 -03:00
Ricardo Dalarme ed0206f06e refactor(logic): simplify some operations 2023-01-27 13:30:00 -03:00
Ricardo Dalarme c912e00c07 change(perfomance): remove unnecessary setStates 2023-01-27 13:25:37 -03:00
Ricardo Dalarme ee6f662dfd chore(readme): add pub badges 2023-01-27 11:02:23 -03:00
Ricardo Dalarme 4f7d832d7c chore(package): release v1.1.1 2023-01-26 14:42:28 -03:00
Ricardo Dalarme f41897b13f refactor(lint): add new lint rules 2023-01-26 14:35:51 -03:00
Ricardo Dalarme db609c2f7c change(example): use debugPrint instead of log 2023-01-24 16:01:26 -03:00
Ricardo Dalarme bb0203ea2f chore(package): release v1.1.0+1 2023-01-24 15:49:46 -03:00
Ricardo Dalarme 55f3303a6b chore(pub): update license to pub recognize it 2023-01-24 15:48:00 -03:00
Ricardo Dalarme eb9b50bb7b chore(package): release v1.1.0 2023-01-24 15:41:59 -03:00
Ricardo Dalarme c2a032d206 fix(example): don't ignore the example when publishing to pub.dev 2023-01-24 15:41:01 -03:00
Ricardo Dalarme f1b3027bf6 chore(pubspec): update package description 2023-01-24 15:34:48 -03:00
Ricardo Dalarme 06ac501f9d feat(controller): allow swiping up and down 2023-01-24 15:28:55 -03:00
Ricardo Dalarme c8f044cc7d chore(docs): simplify the readme 2023-01-24 15:28:55 -03:00
Ricardo Dalarme f6950c2c9a refactor(example): make the example simpler 2023-01-24 14:31:53 -03:00
Ricardo Dalarme b371c2ba82 chore(package): release v1.0.2 2023-01-16 12:26:11 -03:00
Ricardo Dalarme c5f5601c4a feat(type-safe): make all callbacks type-safe 2023-01-16 12:24:50 -03:00
Ricardo Dalarme 941b68ad7d chore(package): release v1.0.1 2023-01-15 23:27:36 -03:00
Ricardo Dalarme 1368062e72 fix(render): never hide the back card 2023-01-15 23:25:11 -03:00