action_slider
0.7.0, released 3 years ago by splashbyte.dev
A customizable Flutter slider for confirming actions with loading and success feedback.
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.
- tuna_flutter_range_slider
A material design single and range slider widget with vertical and horizontal support.
39Compare - rounded_loading_button_plus
Animated button with loading, success and error states for Flutter.
50Compare - cool_alert
Animated alert dialog widget for success, error, warning, confirm, and loading states
48Compare - confirm_dialog
An easy-to-use confirm dialog widget for Flutter with a JS-like syntax.
45Compare