davi 2.6.0 davi: ^2.6.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)
2.6.0 #
- Migration of package
easy_table
todavi
- Replace import
package:easy_table/easy_table.dart
withpackage:davi/davi.dart
- Replace import
2.5.0 #
- Deactivation of package easy_table
2.4.0 #
- Allow customizing hover cursor.
- Function
EasyTableRowCursor
to overrides a row cursor. - Theme attribute
RowThemeData.cursorOnTapGesturesOnly
to allow cursor without tap gestures.
- Function
CellThemeData
- The
overrideInputDecoration
attribute has been added to overrides theInputDecorationTheme
with a custom theme.
- The
2.3.0 #
- Stretchable column
EasyTableModel
- The
columnsWeight
method has been removed.
- The
EasyTableColumn
- The
weight
attribute has been renamed togrow
and became nullable.
- The
EasyTable
- The
columnsFit
has been renamed tocolumnWidthBehavior
and refactor frombool
toColumnWidthBehavior
enum.
- The
2.2.0 #
- Bugfix
- Functions
onLastRowWidget
andonLastVisibleRow
are not working properly. - Data is not displayed after creating a new model and scrollbar offset not reset.
- Functions
- API change
- The
lastVisibleRowIndex
parameter of theOnLastVisibleRowListener
function is now nullable.
- The
2.1.0 #
- Improvements
- Improved performance by avoiding unnecessary rebuilds.
- Bugfix
- Scrolling does not work with a trackpad on macOS.
- New
EasyTableColumn
propertycellClip
2.0.1 #
- Bugfix
- Child text field does not change with typing events.
- Focus traversal skipping child.
2.0.0 #
- Improvements
- Property to display vertical scrollbar only when needed
- Header visibility
lastRowWidget
to allow proper infinite scrolling within the table body- More theme configurations
- New
EasyTable
propertieslastRowWidget
onLastRowWidget
rowColor
- New
EasyTableColumn
propertiescellBackground
cellOverflow
- New theme properties
CellThemeData.overflow
EasyTableThemeData.columnDividerFillHeight
HeaderCellThemeData.height
HeaderThemeData.color
HeaderThemeData.visible
RowThemeData.fillHeight
RowThemeData.hoverForeground
RowThemeData.lastDividerVisible
TableScrollbarThemeData.borderThickness
TableScrollbarThemeData.columnDividerColor
TableScrollbarThemeData.verticalOnlyWhenNeeded
- Renamed
ColumnSort.sortType
toColumnSort.order
EasyTable.multiSortEnabled
toEasyTable.multiSort
EasyTable.onHoverListener
toEasyTable.onHover
EasyTable.onLastVisibleRowListener
toEasyTable.onLastVisibleRow
EasyTableModel.isRowsEmpty
toEasyTableModel.isOriginalRowsEmpty
EasyTableModel.isRowsNotEmpty
toEasyTableModel.isOriginalRowsNotEmpty
EasyTableModel.isVisibleRowsEmpty
toEasyTableModel.isRowsEmpty
EasyTableModel.isVisibleRowsNotEmpty
toEasyTableModel.isRowsNotEmpty
EasyTableModel.removeVisibleRowAt
toEasyTableModel.removeRowAt
EasyTableModel.rowsLength
toEasyTableModel.originalRowsLength
EasyTableModel.visibleRowAt
toEasyTableModel.rowAt
EasyTableModel.visibleRowsLength
toEasyTableModel.rowsLength
EasyTableSortType
toTableSortOrder
RowThemeData.hoveredColor
toRowThemeData.hoverBackground
- Changed
CellStyleBuilder
parameter(ROW row)
to(RowData<ROW> data)
EasyTableCellBuilder
parameters from(ROW row, int rowIndex)
to(RowData<ROW> data)
EasyTableColumn.background
changed fromColor
toCellBackgroundBuilder<ROW>
EasyTableColumnSort.pinned
bool toEasyTableColumnSort.pinStatus
enum
- Moved
EasyTable.cellContentHeight
toCellThemeData.contentHeight
- Removed
CellIcon.alignment
(already exists onCellStyle
)CellIcon.background
(already exists onCellStyle
)EasyTableModel.allColumnsWidth
EasyTableModel.pinnedColumnsLength
EasyTableModel.pinnedColumnsWidth
EasyTableModel.unpinnedColumnsLength
EasyTableModel.unpinnedColumnsWidth
HeaderThemeData.height
1.6.0 #
- Multiple column sort.
EasyTableModel.removeColumnSort
renamed toEasyTableModel.clearSort
.
- Bugfix
CellStyle.background
not being used in null-valued cells.
1.5.1 #
- Bugfix
- Drag stops when horizontal scrollbar is displayed.
1.5.0 #
- Vertical scroll with keyboard keys: arrow up, arrow down, page down and page up.
- Added
visibleRowIndex
inEasyTableCellBuilder
. - Added
notifyUpdate
method inEasyTableModel
.
1.4.0 #
- Feature to display horizontal scrollbar only when needed.
- A warning is being displayed in the console due to a bug in Flutter: https://github.com/flutter/flutter/issues/103939
- The error happens when the horizontal scrollbar is hidden after being visible.
- The following MR should fix the issue: https://github.com/flutter/flutter/pull/103948
EasyTable.onLastVisibleRowListener
for listening to the last visible row index.- Useful for infinite scroll.
- Added
RowThemeData.dividerColor
. EasyTableThemeData.rowDividerThickness
moved toRowThemeData.dividerThickness
.RowThemeData.columnDividerColor
moved toEasyTableThemeData.columnDividerColor
.TableScrollThemeData
renamed toTableScrollbarThemeData
.EasyTableThemeData.scroll
renamed toEasyTableThemeData.scrollbar
.- Removed
EasyTable.scrollbarMargin
andEasyTable.scrollbarThickness
(already exists inTableScrollbarThemeData
).
1.3.0 #
- Updated to Flutter 3.0.0 or higher.
- Improved renderer performance.
CellThemeData.contentHeight
moved toEasyTable.cellContentHeight
.EasyTableColumn
- Added the
iconValueMapper
andcellStyleBuilder
attributes. textStyle
refactored toheaderTextStyle
andcellTextStyle
.padding
refactored toheaderPadding
andcellPadding
.alignment
toheaderAlignment
andcellAlignment
.
- Added the
EasyTableCell
has been removed.
1.2.0 #
- Scrollbars without overlapping table contents.
- Added the
onRowSecondaryTap
callback.
1.1.0 #
- Pinned columns.
1.0.0 #
- Header leading.
0.9.0 #
visibleRowsCount
feature to calculate the height based on the number of visible lines. It can be used within an unbounded height layout.- Layout bugfix
- EasyTableModel
- Adding the
replaceRows
method
- Adding the
0.8.0 #
- Columns fit.
0.7.0 #
- Theme
- Column
- Divider color
- Cell
- Null cell color
- Column
- New column parameters for theme override
padding
alignment
textStyle
- Allow mapping columns to null values
0.6.0 #
- Resizable columns.
0.5.0 #
- Row callbacks
onRowTap
onRowDoubleTap
0.4.0 #
- Sort feature.
0.3.0 #
EasyTableModel
to handle rows and columns.
0.2.0 #
EasyTableTheme
widget to applies a theme to descendant widgets.- More theming options will be added to
EasyTableThemeData
.
- More theming options will be added to
0.1.0 #
- Initial release
- Bidirectional scroll bars
- Columns
- Initial width
- Header builder
- Cell builder
- Initial automatic cell builder with data mapper
0.0.1 #
- Package creation.