DragAndDropList constructor

DragAndDropList({
  1. required List<DragAndDropItem> children,
  2. Key? key,
  3. Widget? header,
  4. Widget? footer,
  5. Widget? leftSide,
  6. Widget? rightSide,
  7. Widget? contentsWhenEmpty,
  8. Widget? lastTarget,
  9. Decoration? decoration,
  10. MainAxisAlignment horizontalAlignment = MainAxisAlignment.start,
  11. CrossAxisAlignment verticalAlignment = CrossAxisAlignment.start,
  12. bool canDrag = true,
})

Implementation

DragAndDropList({
  required this.children,
  this.key,
  this.header,
  this.footer,
  this.leftSide,
  this.rightSide,
  this.contentsWhenEmpty,
  this.lastTarget,
  this.decoration,
  this.horizontalAlignment = MainAxisAlignment.start,
  this.verticalAlignment = CrossAxisAlignment.start,
  this.canDrag = true,
});