{"id":22898729,"url":"https://github.com/liquidatorcoder/flip_card_swiper","last_synced_at":"2025-08-24T02:04:42.262Z","repository":{"id":266839803,"uuid":"899402436","full_name":"LiquidatorCoder/flip_card_swiper","owner":"LiquidatorCoder","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-06T14:02:43.000Z","size":5243,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-07T02:47:47.948Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LiquidatorCoder.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-06T07:35:25.000Z","updated_at":"2024-12-06T14:02:47.000Z","dependencies_parsed_at":"2024-12-06T13:50:34.190Z","dependency_job_id":"130831d4-9942-4f17-8961-d23c620da05d","html_url":"https://github.com/LiquidatorCoder/flip_card_swiper","commit_stats":null,"previous_names":["liquidatorcoder/flip_card_swiper"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiquidatorCoder%2Fflip_card_swiper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiquidatorCoder%2Fflip_card_swiper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiquidatorCoder%2Fflip_card_swiper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiquidatorCoder%2Fflip_card_swiper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LiquidatorCoder","download_url":"https://codeload.github.com/LiquidatorCoder/flip_card_swiper/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246569008,"owners_count":20798341,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-14T00:34:42.244Z","updated_at":"2025-04-01T01:53:32.659Z","avatar_url":"https://github.com/LiquidatorCoder.png","language":"Dart","funding_links":["https://www.paypal.me/codenameakshay"],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eFlip Card Swiper\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cb\u003eA customizable, swipeable card widget with smooth flip animations and haptic support.\u003c/b\u003e\n\u003c/p\u003e\u003cbr\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://flutter.dev\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Platform-Flutter-02569B?logo=flutter\" alt=\"Platform\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://pub.dartlang.org/packages/flip_card_swiper\"\u003e\n    \u003cimg src=\"https://img.shields.io/pub/v/flip_card_swiper.svg\" alt=\"Pub Package\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://opensource.org/licenses/MIT\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/license/LiquidatorCoder/flip_card_swiper?color=red\" alt=\"License: MIT\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.paypal.me/codenameakshay\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Donate-PayPal-00457C?logo=paypal\" alt=\"Donate\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\u003cbr\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#features\"\u003eFeatures\u003c/a\u003e •\n  \u003ca href=\"#installation\"\u003eInstallation\u003c/a\u003e •\n  \u003ca href=\"#usage\"\u003eUsage\u003c/a\u003e •\n  \u003ca href=\"#license\"\u003eLicense\u003c/a\u003e •\n  \u003ca href=\"#bugs-or-requests\"\u003eBugs or Requests\u003c/a\u003e\n\u003c/p\u003e\u003cbr\u003e\n\n---\n\n| ![Colored Card Demo](https://raw.githubusercontent.com/LiquidatorCoder/flip_card_swiper/main/screenshots/colored.gif) | ![White Card Demo](https://raw.githubusercontent.com/LiquidatorCoder/flip_card_swiper/main/screenshots/white.gif) |\n| --------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |\n| **Flip Animation with Colored Cards**                                                                                 | **Flip Animation with White Cards**                                                                               |\n\n---\n\n## Features\n\n- **Flip \u0026 Swipe Animations:**  \n  Easily flip between cards with a vertical drag gesture. Cards smoothly animate through the stack.\n\n- **Card Collection Animations:**  \n  Automatically animate cards into a collection, perfect for onboarding sequences or showcases.\n\n- **Haptic Feedback:**  \n  Provide tactile feedback to users as they flip through cards, enhancing user experience.\n\n- **Dynamic Card Updates:**  \n  The widget updates card order at mid-animation, allowing endless looping through your card collection.\n\n- **Customizable Scaling \u0026 Offsets:**  \n  Fine-tune card positions, scales, and transitions to achieve unique flipping and stacking effects.\n\n**No extra dependencies or complicated setup—just integrate and start flipping!**\n\n---\n\n## Installation\n\nAdd the following line to your `pubspec.yaml`:\n\n```yaml\ndependencies:\n  flip_card_swiper: ^1.0.0\n```\n\nThen, run:\n\n```bash\nflutter pub get\n```\n\n## Usage\n\n```dart\nimport 'package:flutter/material.dart';\nimport 'package:flip_card_swiper/flip_card_swiper.dart';\n\nvoid main() {\n  runApp(MyApp());\n}\n\nclass MyApp extends StatelessWidget {\n  final List\u003cMap\u003cString, dynamic\u003e\u003e cards = [\n    {'color': Colors.blue, 'text': 'Card 1'},\n    {'color': Colors.red, 'text': 'Card 2'},\n    {'color': Colors.green, 'text': 'Card 3'},\n  ];\n\n  @override\n  Widget build(BuildContext context) {\n    return MaterialApp(\n      home: Scaffold(\n        body: Center(\n          child: FlipCardSwiper(\n            cardData: cards,\n            onCardChange: (newIndex) {\n              // Do something when the top card changes\n            },\n            onCardCollectionAnimationComplete: (value) {\n              // Triggered when card collection animation finishes\n            },\n            // Build each card widget\n            cardBuilder: (context, index, visibleIndex) {\n              final card = cards[index];\n              return Container(\n                width: 300,\n                height: 200,\n                decoration: BoxDecoration(\n                  color: card['color'],\n                  borderRadius: BorderRadius.circular(12),\n                ),\n                alignment: Alignment.center,\n                child: Text(\n                  card['text'],\n                  style: const TextStyle(fontSize: 24, color: Colors.white),\n                ),\n              );\n            },\n          ),\n        ),\n      ),\n    );\n  }\n}\n\n\n```\n\n## License\n\n```\nMIT License\n\nCopyright (c) 2024 Abhay Maurya\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n\n## Bugs or Requests\n\n- For bugs, please [open an issue](https://github.com/LiquidatorCoder/flip_card_swiper/issues/new?template=bug_report.md).\n- For features or enhancements, submit a [feature request](https://github.com/LiquidatorCoder/flip_card_swiper/issues/new?template=feature_request.md).\n- PRs are welcome—contributions help make this tool better!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliquidatorcoder%2Fflip_card_swiper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliquidatorcoder%2Fflip_card_swiper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliquidatorcoder%2Fflip_card_swiper/lists"}