EasyTable<ROW> constructor
const
EasyTable<ROW> (
- EasyTableModel<
ROW> ? model, { - Key? key,
- OnRowHoverListener? onHover,
- ScrollController? unpinnedHorizontalScrollController,
- ScrollController? pinnedHorizontalScrollController,
- ScrollController? verticalScrollController,
- OnLastVisibleRowListener? onLastVisibleRow,
- RowTapCallback<
ROW> ? onRowTap, - RowTapCallback<
ROW> ? onRowSecondaryTap, - RowDoubleTapCallback<
ROW> ? onRowDoubleTap, - ColumnWidthBehavior columnWidthBehavior = ColumnWidthBehavior.scrollable,
- int? visibleRowsCount,
- bool focusable = true,
- bool multiSort = false,
- Widget? lastRowWidget,
- EasyTableRowColor<
ROW> ? rowColor, - EasyTableRowCursor<
ROW> ? rowCursor, - 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);