action_slider 0.6.0 icon indicating copy to clipboard operation
action_slider: ^0.6.0 copied to clipboard

A slider to confirm actions and provide feedback on the success of these after subsequent loading.

pub.dev github likes popularity pub points license

buy me a coffee

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 #

action_slider_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
    },
    ... //many more parameters
)

Maximum customizability with ActionSlider.custom.

ActionSlider.custom(
    foregroundBuilder: (context, state, child) => ...,
    backgroundBuilder: (context, state, child) => ...,
    outerBackgroundBuilder: (context, state, child) => ...,
    onSlide: (controller) => ...,
    ... //many more parameters
)
56
likes
140
pub points
89%
popularity

Publisher

verified publisher iconsplashbyte.dev

A slider to confirm actions and provide feedback on the success of these after subsequent loading.

Repository (GitHub)

Documentation

API reference

License

Icon for licenses.BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on action_slider