flutter_swipe_actions 0.3.7 copy "flutter_swipe_actions: ^0.3.7" to clipboard
flutter_swipe_actions: ^0.3.7 copied to clipboard

Smooth iOS Mail-inspired swipe actions for Flutter lists, with a reusable controller and customizable action buttons.

0.3.7 #

  • Restored the original visual action order while keeping progressive reveal from the physical swipe edge.
  • Made each action scale continuously through its own swipe segment so actions appear and disappear smoothly while dragging.
  • Kept every action fixed in its final slot while the revealed area is clipped, preventing actions from sliding as their centered scale animation runs.
  • Preserved the configured action spacing between the moving item and the nearest action.

0.3.6 #

  • Fixed progressive action positioning so leading and trailing actions reveal in the same order they are declared from the swipe edge inward.
  • Changed the progressive scale animation to grow from each action's center instead of from a side edge.
  • Added regression coverage for visual order and centered scale alignment.

0.3.5 #

  • Changed progressive action visibility to scale in and scale out instead of appearing abruptly when each action fits in the revealed swipe space.
  • Kept actions mounted while hidden so closing can animate smoothly without intercepting taps or semantics.
  • Preserved the width-aware reveal order from the moving item edge for both leading and trailing actions.

0.3.4 #

  • Fixed progressive reveal order for leading and trailing actions. Actions now appear from the moving item edge outward in the same logical order provided by the developer.
  • Kept the first declared action closest to the swiped item for both swipe directions.
  • Made SwipeActionButton adapt to compact row heights to avoid overflow in dense list items.

0.3.3 #

  • Added progressive action reveal while swiping. Actions now appear only when the revealed swipe distance has enough room for each complete action, and disappear in the same width-aware order while closing.
  • Applied the progressive reveal to both leading and trailing actions while preserving adaptive action widths, item/action spacing, and fixed-width overrides.

0.3.2 #

  • Fixed compact leading action reveal distance when using adaptive action widths. SwipeActionButton now provides an upfront preferred width so small actions do not open with the broader fallback width before measurement finishes.
  • Kept estimatedActionWidth as the fallback only for fully custom action widgets that cannot expose their preferred width ahead of layout.

0.3.1 #

  • Made action widths adaptive by default. SwipeActions now measures each visible action and uses estimatedActionWidth only as the first-frame fallback.
  • Kept actionWidth as an optional fixed-width override for designs that need deterministic action sizes.
  • Added minActionWidth and maxActionWidth to keep adaptive actions visually controlled.
  • Added closedBackgroundColor and openedBackgroundColor convenience options.
  • Defaulted the closed item surface to colorScheme.surface before the opened background interpolation begins.
  • Matched the gap between the item and the first action to the gap between actions.
  • Added optional SwipeActionButton.width for standalone usage while keeping it flexible inside SwipeActions.

0.3.0 #

  • Added SwipeActionButton.closeOnPressed, enabled by default, so Mail-style actions close the row after a successful tap.
  • Added SwipeActionButton.tooltip and improved semantics, disabled visuals, mouse cursor behavior, and desktop/web affordances.
  • Added SwipeActions.maybeOf(context) for custom action widgets that need to close the nearest swipe row.
  • Updated onOpened and onClosed to fire when the animation completes.
  • Added onOpenChanged and onAnimationCompleted callbacks.
  • Added SwipeController.hasOpenItem and SwipeController.openSide as stable public getters while keeping previous getters compatible.
  • Expanded widget tests for action taps, auto-close, callbacks, controller coordination, and RTL leading actions.
  • Cleaned README examples to avoid app-specific copy.

0.2.0 #

  • Added itemBorderRadius to customize the opened swipe item shape without rebuilding the full decoration.
  • Improved swipe hit testing so visible action buttons receive taps instead of the opened item closing first.
  • Improved SwipeActionButton vertical alignment with a fixed height and single-line labels with ellipsis.
  • Documented the public API with Dart documentation comments.
  • Documented SwipeActionButton as the recommended default action widget while keeping SwipeActions flexible with List<Widget>.

0.1.0 #

  • Initial release.
  • Added SwipeActions with leading and trailing actions.
  • Added SwipeController to coordinate open swipe rows across a list.
  • Added SwipeActionButton for customizable circular actions with labels.
  • Added RTL-aware swipe direction handling.
  • Added animated decoration and action transitions for an iOS Mail-inspired feel.
1
likes
150
points
233
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Smooth iOS Mail-inspired swipe actions for Flutter lists, with a reusable controller and customizable action buttons.

Homepage

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_swipe_actions