swipe_action_cell 1.1.1 copy "swipe_action_cell: ^1.1.1" to clipboard
swipe_action_cell: ^1.1.1 copied to clipboard

A highly configurable swipe interaction widget with asymmetric left/right actions — progressive increments and intentional committed actions.

Changelog #

All notable changes to this project will be documented in this file. The format is based on Keep a Changelog.

1.1.1 - 2026-03-06 #

Fixed #

  • Fixed full-swipe expand animation starting too early: all reveal-panel actions now begin at equal width and only expand after the user swipes past the fully-revealed panel.
  • Added division-by-zero guard in full-swipe ratio calculation.

1.1.0 - 2026-03-06 #

Added #

  • Full Swipe Auto-Trigger: swipe a cell fully across the screen to instantly trigger a designated action without tapping
  • FullSwipeConfig class for per-direction full-swipe configuration
  • Expand-to-fill animation when crossing full-swipe threshold
  • SwipeController.triggerFullSwipe() for programmatic full-swipe triggering
  • SwipeTester.fullSwipeRight() and fullSwipeLeft() testing helpers
  • Keyboard shortcut: Shift+Arrow for full-swipe action (accessibility)
  • Screen reader announcement when approaching full-swipe threshold
  • Full swipe support in delete, archive, and standard templates by default

Changed #

  • RightSwipeConfig and LeftSwipeConfig now accept optional fullSwipeConfig parameter
  • SwipeFeedbackEvent enum extended with fullSwipeThreshold and fullSwipeActivation
  • SwipeProgress now includes fullSwipeRatio data

Fixed #

  • Fixed visual tap flicker: Backgrounds in SwipeVisualConfig no longer flash briefly on simple taps and now fade in/out smoothly.
  • Fixed full-swipe expansion bug: When a full-swipe gesture is released early, actions smoothly restore to their original widths instead of remaining visually shrunk.

Notes #

  • Full swipe is disabled by default — zero overhead when not configured
  • Full-swipe action must also exist in the reveal actions list (accessibility requirement)
  • Full-swipe threshold must be greater than activation threshold and all zone thresholds

1.0.0 - 2026-03-01 #

Added #

  • F001: Horizontal drag detection and direction discrimination with gesture arena integration
  • F002: Spring-based animation system with snap-back and completion physics (SpringSimulation)
  • F003: Progressive right-swipe with real-time value tracking, step increments, and threshold callbacks
  • F004: Intentional left-swipe with auto-trigger and reveal modes (LeftSwipeMode)
  • F005: Consolidated configuration API (LeftSwipeConfig, RightSwipeConfig, SwipeVisualConfig)
  • F006: SwipeController for programmatic open, close, undo, and progress reset
  • F007: SwipeGroupController for accordion behavior across multiple cells
  • F008: Accessibility and RTL support with semantic labels and direction-adaptive swipe semantics
  • F009: Scroll-conflict resolution via custom gesture recognizer and gesture arena participation
  • F010: Unified haptic and audio feedback system (SwipeFeedbackConfig)
  • F011: Undo lifecycle with configurable window and revert callbacks (SwipeUndoConfig)
  • F012: Custom painter and decoration hooks (SwipePaintingConfig, SwipeMorphIcon, SwipeParticlePainter)
  • F013: Multi-zone swipe with per-zone backgrounds, thresholds, and transition styles (SwipeZone)
  • F014: Prebuilt zero-config templates: SwipeActionCell.delete, .archive, .favorite, .checkbox, .counter, .standard
  • F015: Consumer testing utilities: SwipeTester, SwipeAssertions, MockSwipeController, SwipeTestHarness

0.1.0-beta.1 #

  • Breaking Change: Consolidated SwipeActionCell configuration into dedicated configuration objects.

    Parameter renames (widget constructor):

    • rightSwipe: ProgressiveSwipeConfig(...)rightSwipeConfig: RightSwipeConfig(...)
    • leftSwipe: IntentionalSwipeConfig(...)leftSwipeConfig: LeftSwipeConfig(...)
    • leftBackground, rightBackground, clipBehavior, borderRadiusvisualConfig: SwipeVisualConfig(...)

    Type renames (find-and-replace in your codebase):

    • ProgressiveSwipeConfigRightSwipeConfig
    • IntentionalSwipeConfigLeftSwipeConfig
  • New Feature: Added SwipeActionCellTheme as a ThemeExtension for app-wide default configurations.

  • New Feature: Added SwipeController for future programmatic interaction (behavior reserved for next release).

  • New Feature: Added preset constructors for tuning gesture feel and animation character:

    • SwipeGestureConfig.tight() and SwipeGestureConfig.loose()
    • SwipeAnimationConfig.snappy() and SwipeAnimationConfig.smooth()
  • Improved haptic feedback integration for both left and right swipes.

0.0.1 #

  • Initial project setup
  • Core data models: SwipeDirection, SwipeState, SwipeProgress
  • Widget skeleton: SwipeActionCell (no swipe behavior yet)
0
likes
160
points
9
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A highly configurable swipe interaction widget with asymmetric left/right actions — progressive increments and intentional committed actions.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, flutter_test

More

Packages that depend on swipe_action_cell