DragTargetGrid constructor

const DragTargetGrid({
  1. Key? key,
  2. required int index,
  3. required VoidCallback? onChangeCallback,
  4. Widget? feedback,
  5. Widget? childWhenDragging,
  6. PlaceHolderWidget? placeHolder,
  7. required DragCompletion? dragCompletion,
  8. required List<DraggableGridItem> orgList,
  9. required List<DraggableGridItem> list,
  10. required bool isOnlyLongPress,
  11. required ValueChanged<List<DraggableGridItem>> onListUpdate,
  12. required ValueChanged<List<DraggableGridItem>> onOrgListUpdate,
})

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,
});