davi library

Classes

CellIcon
Icon to be painted in the cell.
CellStyle
Overrides the theme and column style.
CellThemeData
The Davi cell theme. Defines the configuration of the overall visual CellThemeData for a widget subtree within the app.
CellThemeDataDefaults
Davi<DATA>
Table view designed for a large number of data.
DaviColumn<DATA>
The Davi column.
DaviColumnId
Random id for the column if none is defined.
DaviModel<DATA>
The Davi model.
DaviRow<DATA>
DaviSort
Describes the Davi sort.
DaviTheme
Applies a Davi theme to descendant widgets. See also:
DaviThemeData
The Davi theme. Defines the configuration of the overall visual DaviThemeData for a widget subtree within the app.
DaviThemeDataDefaults
HeaderCellThemeData
The Davi cell header theme. Defines the configuration of the overall visual HeaderCellThemeData for a widget subtree within the app.
HeaderCellThemeDataDefaults
HeaderThemeData
The Davi header theme. Defines the configuration of the overall visual HeaderThemeData for a widget subtree within the app.
HeaderThemeDataDefaults
RenderSortIcon
RowThemeData
The Davi row theme. Defines the configuration of the overall visual RowThemeData for a widget subtree within the app.
RowThemeDataDefaults
Defines the RowThemeData default values.
SortIcon
SortIconBuilders
Default sort icon builders.
SortIconColors
TableScrollbarThemeData
The Davi scroll theme. Defines the configuration of the overall visual TableScrollbarThemeData for a widget subtree within the app.
TableScrollbarThemeDataDefaults

Enums

ColumnWidthBehavior
Defines column width behavior.
DaviSortDirection
Sort direction
PinStatus
SortIconSize

Typedefs

CellBackgroundBuilder<DATA> = Color? Function(DaviRow<DATA> row)
Signature for a function that builds a background for a row.
CellNullColor = Color? Function(int rowIndex, bool hovered)
Signature for a function that defines a cell null valued color.
CellStyleBuilder<DATA> = CellStyle? Function(DaviRow<DATA> row)
Signature for a function that builds a CellStyle for a row.
DaviCellBuilder<DATA> = Widget Function(BuildContext context, DaviRow<DATA> row)
Signature for a function that builds a widget for a given row.
DaviDataComparator<DATA> = int Function(DATA a, DATA b, DaviColumn<DATA> column)
Signature for sort column function.
DaviDoubleValueMapper<DATA> = double? Function(DATA data)
Signature for a function that maps a double value of a row.
DaviIconValueMapper<DATA> = CellIcon? Function(DATA data)
Signature for a function that maps a CellIcon value of a row.
DaviIntValueMapper<DATA> = int? Function(DATA data)
Signature for a function that maps an int value of a row.
DaviObjectValueMapper<DATA> = Object? Function(DATA data)
Signature for a function that maps an Object value of a row.
DaviRowColor<DATA> = Color? Function(DaviRow<DATA> row)
Signature for a function that defines a row color. The theme value will be used if it returns NULL.
DaviRowCursor<DATA> = MouseCursor? Function(DaviRow<DATA> row)
Signature for a function that defines a row cursor. The theme value will be used if it returns NULL.
DaviStringValueMapper<DATA> = String? Function(DATA data)
Signature for a function that maps a String value of a row.
OnLastVisibleRowListener = void Function(int? lastVisibleRowIndex)
Signature for listening to the last visible row index. Only model lines will be counted. The Davi.lastRowWidget index will be ignored, for that, use Davi.onLastRowWidget.
OnRowHoverListener = void Function(int? rowIndex)
Signature for listening to the row over the cursor.
OnSortCallback<DATA> = void Function(List<DaviColumn<DATA>> sortedColumns)
Signature to the callback of when a sort has occurred.
RowDoubleTapCallback<DATA> = void Function(DATA data)
Signature for when a row double tap has occurred.
RowTapCallback<DATA> = void Function(DATA data)
Signature for when a row tap has occurred.
SortIconBuilder = Widget Function(DaviSortDirection direction, SortIconColors colors)
ThemeRowColor = Color? Function(int rowIndex)
Signature for a function that defines a row theme color.