SlideEndHandler typedef

SlideEndHandler = bool? Function(Offset offset, {ScaleEndDetails details, ExtendedImageSlidePageState state})

if return true ,pop page else reset page state

Implementation

typedef SlideEndHandler = bool? Function(
  Offset offset, {
  ExtendedImageSlidePageState state,
  ScaleEndDetails details,
});