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

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

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
0
points
233
downloads

Publisher

unverified uploader

Weekly Downloads

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

Homepage

License

unknown (license)

Dependencies

flutter

More

Packages that depend on flutter_swipe_actions