smart_slider 0.0.5

SDKflutter
Platformandroidioswindowslinuxmacosweb

A fully customizable slide to confirm actions and provide feedback on the success. It supports different states like loading, success, and failure to enhance user interaction.

likes pub.dev popularity pub points

Example

image

How to use

SmartSlider(
    controller: controller,
    onSlideComplete: () async {
      controller.loading();
      await Future.delayed(Duration(seconds: 2)).then(
        (value) {
          controller.success();
          _incrementCounter();
        },
      );
      await Future.delayed(Duration(seconds: 2)).then(
        (value) {
          controller.reset();
        },
      );
    },
);

If you like this package, please leave a like there on pub.dev and star on GitHub