ImageSliderOnEndCallback typedef
ImageSliderOnEndCallback =
void Function(int position)
Callback signature for when the slider drag ends
position is the index of the selected image (0-based)
Implementation
typedef ImageSliderOnEndCallback = void Function(int position);