CanMovePage typedef
CanMovePage =
bool Function(GestureDetails? gestureDetails)
Whether we can move to previous/next page only for Image
Implementation
typedef CanMovePage = bool Function(GestureDetails? gestureDetails);