ElXBase_ElencoDraggable<T> constructor

ElXBase_ElencoDraggable<T>(
  1. XView viewToUse,
  2. String title, {
  3. List<XProp>? xFilter_SearchBarXCols,
  4. List<XAction>? xActions_Left,
  5. Widget? itemWidget(
    1. XFDataItem
    )?,
  6. Widget? itemWidget_FeedBack(
    1. XFDataItem
    )?,
  7. Widget? itemWidget_WhenDragging(
    1. XFDataItem
    )?,
  8. Key? key,
  9. List<XMediaItem>? liXMediaToUse,
  10. Widget? xDrawerMenu,
  11. List<T>? liToUse,
  12. bool? isSch = false,
  13. XApp<XAppState, dynamic, dynamic>? xApp,
  14. dynamic functToDelete(
    1. T
    )?,
  15. dynamic rootItemEdited(
    1. XFDataItem
    )?,
  16. dynamic itemEdited(
    1. XFDataItem
    )?,
  17. dynamic onTapItem(
    1. XFDataItem
    )?,
  18. Widget? xBL_BTN_EmptyList()?,
  19. double? xCells_Item_Width(
    1. XCol xCol,
    2. XFDataItem item,
    3. double? widthByXfx
    )? = null,
  20. Widget xCells_Item_Widget(
    1. XCol xCol,
    2. XFDataItem item
    )? = null,
  21. TextStyle xCells_Item_TextStyle(
    1. XCol xcol,
    2. XFDataItem? xfd,
    3. Color color
    )? = null,
})

Implementation

ElXBase_ElencoDraggable(
  this.viewToUse,
  this.title, {
  this.xFilter_SearchBarXCols,
  this.xActions_Left,
  this.itemWidget,
  this.itemWidget_FeedBack,
  this.itemWidget_WhenDragging,
  Key? key,
  super.liXMediaToUse,
  Widget? xDrawerMenu,
  this.liToUse,
  this.isSch = false,
  super.xApp,
  Function(T)? functToDelete,
  super.rootItemEdited,
  super.itemEdited,
  super.onTapItem,
  super.xBL_BTN_EmptyList,
  super.xCells_Item_Width,
  super.xCells_Item_Widget,
  super.xCells_Item_TextStyle,
}) : super(
        title,
        viewToUse,
        pageMode_Active: true,
        liDetts: liToUse,
        schedaMode: isSch,
        onLongTapItem: functToDelete != null ? (item) => functToDelete(item) : null,
        xDrawerMenu: xDrawerMenu,
        key: key,
        title_Style: XStyles.xStyTextForTitle(textColor: XColors.foregroundLight),
        title_Color: (XColors.foregroundLight),
      );