DragWidgetBuilder typedef Null safety

DragWidgetBuilder = Widget Function(int index, Widget child)

Build the drag widget under finger when dragging. The index here represents the index of current dragging widget The child here represents the current index widget

Implementation

typedef DragWidgetBuilder = Widget Function(int index, Widget child);