VUploadWithDragSortView constructor

VUploadWithDragSortView(
  1. List<ImageBean> data, {
  2. Key? key,
  3. double? width,
  4. double space = 5,
  5. EdgeInsets padding = EdgeInsets.zero,
  6. EdgeInsets margin = EdgeInsets.zero,
  7. Widget? addBuilder,
  8. OnDragListener? onDragListener,
  9. String? imgCacheKey,
  10. int dragEffect = 2,
  11. int totalCount = 9,
  12. double radius = 10,
  13. int columnCounts = 3,
  14. bool onlyPreview = false,
  15. BorderRadius? itemBorderRadius,
  16. OnClick2AddPic? addClickListener,
  17. OnSelectListener? onSelectListener,
  18. OnDelItemData? onDelListener,
  19. V2UploadIndicator? indicatorWidget,
  20. String? themeColor,
  21. RequestType? requestType,
  22. String? language,
})

Implementation

VUploadWithDragSortView(this.data,
    {Key? key,
      this.width,
      this.space = 5,
      this.padding = EdgeInsets.zero,
      this.margin = EdgeInsets.zero,
      this.addBuilder,
      this.onDragListener,
      // required this.getItemData,
      this.imgCacheKey,
      this.dragEffect = 2,
      this.totalCount = 9,
      this.radius = 10,
      this.columnCounts = 3,
      this.onlyPreview = false,
      this.itemBorderRadius,
      this.addClickListener,
      this.onSelectListener,
      this.onDelListener,
      this.indicatorWidget,
      this.themeColor,
      this.requestType,this.language})
    : super(key: key);