davi 3.3.0
davi: ^3.3.0 copied to clipboard
A full customized dataview that builds the cells on demand. Focused on Web/Desktop Applications. Bidirectional scroll bars. (DataTable, Data Table, Data View)
3.3.0 #
- Adding
copyWithmethod to theme classes:DaviThemeData,HeaderCellThemeData,HeaderThemeData,RowThemeData,CellThemeDataandTableScrollbarThemeData.
3.2.0 #
Davi- The
multiSortattribute has been moved toDaviModelasmultiSortEnabled.
- The
DaviModel- New attribute:
alwaysSorted.- Defines if there will always be some sorted column.
- The
ignoreSortattribute has been renamed toignoreDataComparators. - New methods:
getColumn(dynamic id)andsortList. - Removed methods:
multiSortByColumn,sortByColumnIndexandsortByColumn.
- New attribute:
DaviColumn- The
sortattribute has been renamed todataComparator. - The
priorityandorderattributes has been replaced by the newsortattribute. - The
isSortedhas been removed.
- The
HeaderCellThemeData- The
sortOrderSizeattribute has been renamed tosortPrioritySize
- The
- The
DaviColumnSorttypedef has been renamed toDaviDataComparator - The
TableSortOrderenum has been renamed toDaviSortDirection - The
ColumnSortclass has been renamed toDaviSort- The
orderattribute has been renamed todirection. - The
columnIndex(int) has been replaced bycolumnId(dynamic).
- The
HeaderCellThemeData- Default sorting icons have been changed.
- The
sortIconColorattribute has been replaced bysortIconColors(ascending and descending). - The
ascendingIconanddescendingIconattributes has been replaced bysortIconBuilder. - New attributes:
sortPriorityColorandsortPriorityGap.
SortIconBuilders- Default sort icon builders.
3.1.1 #
- Bugfix
DaviModeland scroll controllers being disposed byDavi.
3.1.0 #
- Adding semantics on header and cells.
- Allow to ignore sorting functions. Useful for server-side sorting when loading data.
DaviModel- New callback:
onSort. - New attribute:
ignoreSort.- Ignore column sorting functions to maintain the natural order of the data. Allows the header to be sortable if the column is also sortable.
- New callback:
Davi- New attribute:
tapToSortEnabled.- Indicates whether sorting events are enabled on the header. final bool sortable;
- New attribute:
- Refactor
- The
sortableattribute of theDaviColumncan beTRUEeven without asortfunction. - Typedef
DaviColumnSort- New parameter:
DaviColumn<DATA> column
- New parameter:
- The
3.0.0 #
- Renaming classes and parameters
EasyTable<ROW>toDavi<DATA>EasyTableColumn<ROW>toDaviColumn<DATA>EasyTableThemetoDaviThemeEasyTableThemeDatatoDaviThemeDataRowData<ROW>toDaviRow<DATA>̀ROW rowtoDATA data
EasyTableModel<ROW>toDaviModel<DATA>EasyTableRowColor<ROW>(RowData<ROW> data)toDaviRowColor<DATA>(DaviRow<DATA> row)EasyTableRowCursor<DATA>(RowData<DATA> data)toDaviRowCursor<DATA>(DaviRow<DATA> row)EasyTableColumnSort<ROW>(ROW a, ROW b)toDaviColumnSort<DATA>(DATA a, DATA b)RowTapCallback<ROW>(ROW row)toRowTapCallback<DATA>(DATA data)RowDoubleTapCallback<ROW>(ROW row)toRowDoubleTapCallback<DATA>(DATA data)CellBackgroundBuilder<ROW>(RowData<ROW> data)toCellBackgroundBuilder<DATA>(DaviRow<DATA> row)EasyTableCellBuilder<ROW>(BuildContext context, RowData<ROW> data)toDaviCellBuilder<DATA>(BuildContext context, DaviRow<DATA> row)CellStyleBuilder<ROW>(RowData<ROW> data)toCellStyleBuilder<DATA>(DaviRow<DATA> row)EasyTableIntValueMapper<ROW>(ROW row)toDaviIntValueMapper<DATA>(DATA data)EasyTableDoubleValueMapper<ROW>(ROW row)toDaviDoubleValueMapper<DATA>(DATA data)EasyTableStringValueMapper<ROW>(ROW row)toDaviStringValueMapper<DATA>(DATA data)EasyTableObjectValueMapper<ROW>(ROW row)toDaviObjectValueMapper<DATA>(DATA data)EasyTableIconValueMapper<ROW>(ROW row)toDaviIconValueMapper<DATA>(DATA data)
2.6.0 #
- Migration from
easy_tablepackage (https://pub.flutter-io.cn/packages/easy_table)- Replace import
package:easy_table/easy_table.dartwithpackage:davi/davi.dart
- Replace import