Davi<DATA> constructor
const
Davi<DATA> (
- DaviModel<
DATA> ? model, { - Key? key,
- OnRowHoverListener? onHover,
- ScrollController? unpinnedHorizontalScrollController,
- ScrollController? pinnedHorizontalScrollController,
- ScrollController? verticalScrollController,
- OnLastVisibleRowListener? onLastVisibleRow,
- RowTapCallback<
DATA> ? onRowTap, - RowTapCallback<
DATA> ? onRowSecondaryTap, - RowDoubleTapCallback<
DATA> ? onRowDoubleTap, - ColumnWidthBehavior columnWidthBehavior = ColumnWidthBehavior.scrollable,
- int? visibleRowsCount,
- bool focusable = true,
- bool tapToSortEnabled = true,
- Widget? lastRowWidget,
- DaviRowColor<
DATA> ? rowColor, - DaviRowCursor<
DATA> ? rowCursor, - OnLastRowWidgetListener? onLastRowWidget,
Implementation
const Davi(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.tapToSortEnabled = true,
this.lastRowWidget,
this.rowColor,
this.rowCursor,
this.onLastRowWidget})
: visibleRowsCount = visibleRowsCount == null || visibleRowsCount > 0
? visibleRowsCount
: null,
super(key: key);