action_slider 0.3.0 action_slider: ^0.3.0 copied to clipboard
A slider to confirm actions and provide feedback on the success of these after subsequent loading.
If you like this package, please leave a like there on pub.dev and star on GitHub. #
A slider to confirm actions and provide feedback on the success of these after subsequent loading.
For a switch with a similar look, you can check out animated_toggle_switch.
Example #
Easy Usage #
Easy to use and highly customizable.
ActionSlider.standard(
child: const Text('Slide to confirm'),
onSlide: (controller) async {
controller.loading(); //starts loading animation
await Future.delayed(const Duration(seconds: 3));
controller.success(); //starts success animation
},
)