DragTargetGrid constructor
const
DragTargetGrid({
- Key? key,
- required int index,
- required VoidCallback? onChangeCallback,
- Widget? feedback,
- Widget? childWhenDragging,
- PlaceHolderWidget? placeHolder,
- required DragCompletion? dragCompletion,
- required List<
DraggableGridItem> orgList, - required List<
DraggableGridItem> list, - required bool isOnlyLongPress,
- required ValueChanged<
List< onListUpdate,DraggableGridItem> > - required ValueChanged<
List< onOrgListUpdate,DraggableGridItem> >
Implementation
const DragTargetGrid({
super.key,
required this.index,
required this.onChangeCallback,
this.feedback,
this.childWhenDragging,
this.placeHolder,
required this.dragCompletion,
required this.orgList,
required this.list,
required this.isOnlyLongPress,
required this.onListUpdate,
required this.onOrgListUpdate,
});