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();
},
);
},
);