SlidePercentCallback typedef
Callback to provide the slidePercentage, both vertical and horizontal
Returns two double values.
Simple Usage :
use LiquidSwipe.slidePercentCallback for callbacks
LiquidSwipe(
pages: pages,
slidePercentCallback: (slidePercentHorizontal, slidePercentVertical) => {
...performActions
},
),
Implementation
typedef SlidePercentCallback = void Function(
double slidePercentHorizontal, double slidePercentVertical);