OnDragListener typedef Null safety

OnDragListener = bool Function(MotionEvent event, double itemWidth)

on drag listener. if return true, delete drag index child image. default return false.

Implementation

typedef OnDragListener = bool Function(MotionEvent event, double itemWidth);