swipify 0.0.4 copy "swipify: ^0.0.4" to clipboard
swipify: ^0.0.4 copied to clipboard

A Flutter widget for swipeable card stacks with smooth animations. Perfect for Tinder-like interfaces and interactive card UIs.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.0.4 - 2025-12-13 #

Changed #

  • Updated package metadata and documentation
  • Minor refinements and optimizations

0.0.3 - 2025-12-13 #

Fixed #

  • Fixed card centering calculation to respect container constraints
    • Cards now center correctly within their container, accounting for any external padding or margins
    • Changed calculation from using card width to using container maxWidth from BoxConstraints

0.0.2 - 2025-12-13 #

Fixed #

  • Shortened package description to meet pub.dev requirements (134 characters)
  • Fixed code formatting issues with dart format

Changed #

  • Improved package metadata for better pub.dev compatibility

0.0.1 - 2025-12-13 #

Added #

  • Initial release of Swipify
  • SwipifyWidget<T> - Main widget for creating swipeable card stacks
  • SwipifyStyle - Customization options for card appearance
  • Generic type support for any data type
  • Smooth animations and transitions
  • Depth effect with scaling and overlays
  • Configurable number of visible cards
  • Drag and drop interaction
  • Continuous card cycling
  • Material Design 3 support
  • onCardChanged callback to notify when a card is swiped
    • Provides the index of the new top card (modulo collection size)
    • Provides the item data of the new top card
    • Called after card change animation completes

Features #

  • Swipeable card stack with smooth drag-and-drop
  • Customizable colors, shadows, and spacing
  • Type-safe generic implementation
  • Automatic card repositioning with animations
  • Semi-transparent overlay on background cards
  • Progressive scaling effect for depth perception
  • FittedBox scaling for proportional content resizing
  • Shadow margin for proper elevation display

Documentation #

  • Comprehensive README with examples
  • API reference documentation
  • Code comments and dartdoc
  • Example application demonstrating usage
  • Complete test suite (12 tests)
3
likes
160
points
203
downloads

Publisher

verified publisherdevthis.it

Weekly Downloads

A Flutter widget for swipeable card stacks with smooth animations. Perfect for Tinder-like interfaces and interactive card UIs.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on swipify