Skip to content
pubscout

action_slider

0.7.0, released 3 years ago by splashbyte.dev

A customizable Flutter slider for confirming actions with loading and success feedback.

WASM-ready
$ flutter pub add action_slider
Source repository

What it does

Provides a slider widget that triggers an async action when slid, shows a loading animation, then a success or failure animation. Supports LTR and RTL directions and extensive visual customization.

AI-written summary of version 0.7.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need a confirm‑action UI element with built‑in loading and success feedback
  • Your app requires RTL support for sliders
  • You want a highly customizable slider without writing your own animation logic

Skip it when

  • A simple button or tap gesture is sufficient
  • You need a non‑slider interaction pattern
  • You prefer a package with stable API (this package has several breaking changes)

Strengths

  • Highly customizable appearance
  • Built‑in loading and success states
  • RTL support

Weaknesses

  • Frequent breaking changes across versions
  • Limited to slider UI only
  • No built‑in state‑management integration

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
ActionSlider.standard(
  child: const Text('Slide to confirm'),
  action: (controller) async {
    controller.loading();
    await Future.delayed(const Duration(seconds: 3));
    controller.success();
  },
);

Alternatives

Packages that do the same job and could replace action_slider.