createByOldBuilder9 static method
a helper method to covert deprecated build to current builder
Implementation
static DragWidgetBuilderV2? createByOldBuilder9(DragWidgetBuilder? oldBuilder) {
if (oldBuilder == null) return null;
return DragWidgetBuilderV2(
isScreenshotDragWidget: false,
builder: (int index, Widget child, ImageProvider? screenshot) => oldBuilder(index, child));
}