EasyTable<ROW> constructor

const EasyTable<ROW>(
  1. EasyTableModel<ROW>? model, {
  2. Key? key,
  3. OnRowHoverListener? onHover,
  4. ScrollController? unpinnedHorizontalScrollController,
  5. ScrollController? pinnedHorizontalScrollController,
  6. ScrollController? verticalScrollController,
  7. OnLastVisibleRowListener? onLastVisibleRow,
  8. RowTapCallback<ROW>? onRowTap,
  9. RowTapCallback<ROW>? onRowSecondaryTap,
  10. RowDoubleTapCallback<ROW>? onRowDoubleTap,
  11. ColumnWidthBehavior columnWidthBehavior = ColumnWidthBehavior.scrollable,
  12. int? visibleRowsCount,
  13. bool focusable = true,
  14. bool multiSort = false,
  15. Widget? lastRowWidget,
  16. EasyTableRowColor<ROW>? rowColor,
  17. EasyTableRowCursor<ROW>? rowCursor,
  18. OnLastRowWidgetListener? onLastRowWidget,
})

Implementation

const EasyTable(this.model,
    {Key? key,
    this.onHover,
    this.unpinnedHorizontalScrollController,
    this.pinnedHorizontalScrollController,
    this.verticalScrollController,
    this.onLastVisibleRow,
    this.onRowTap,
    this.onRowSecondaryTap,
    this.onRowDoubleTap,
    this.columnWidthBehavior = ColumnWidthBehavior.scrollable,
    int? visibleRowsCount,
    this.focusable = true,
    this.multiSort = false,
    this.lastRowWidget,
    this.rowColor,
    this.rowCursor,
    this.onLastRowWidget})
    : visibleRowsCount = visibleRowsCount == null || visibleRowsCount > 0
          ? visibleRowsCount
          : null,
      super(key: key);