flutterx_table 2.0.0
flutterx_table: ^2.0.0 copied to clipboard
Highly customizable Flutter table with selection, sorting, filtering, actions, column swap, paging and scrolling modules.
2.0.0 #
Major release on Dart 3.11 / Flutter 3.41 and flutterx_live_data, flutterx_utils 2.0: one library
per concept instead of parts, defaults taken from the theme, modules and builders that release
what they create. Public names are unchanged except where listed.
- Breaking: requires Dart
^3.11.0and Flutter>=3.41.0; depends on flutterx_live_data and flutterx_utils^2.0.0;vector_mathremoved. - Breaking:
SortExt(Iterable.sortedByField) is removed. - Breaking:
TableSelectionModule.rowMultipleSelectionColor/rowSingleSelectionColordefault tonull, meaning the theme tint; passColors.transparentto disable the highlight (nulldisabled it). - Breaking:
XRawTable.oddRowDecorator()takes its default tint from the theme; with onlyoddDecorationthe even rows have no decoration. - Breaking: icons scale from the ambient
IconThemewith the text size (20 → 24 px with the default theme);PagingIndicatorLayout.textStyledefaults totextTheme.bodySmall; paging indicators use theme colors. - Breaking:
PageInfoassertspage < pageCountalso with items;copyWithwithoutpageandfromJsonclamp the page to the last valid one. - Breaking:
ColumnSwapModule.onSwapis not called on a cancelled drag nor on a drop in the same position;newIndexkeeps theReorderableList.onReorderconvention (documented). SortOptions.fromJsonwith an unknownorderuses the fallback (it threw).ContentTableBuilderState.refresh()returns the future of the reload.- Fixed: selection column with
selectAllEnabled: falsethrowing;onTapnever called withoutonTapBehaviour; the selection set mutated during build; sort arrow and filter icon on the wrong columns;guessHintignoringText.rich; filter text out of sync withFilterOptions.query; errors ofitemsBuilderswallowed withoutonError(now reported toFlutterError.reportError); updates andsetStateafter dispose;actualItemsCount0 on a full last page; focus nodes, text controllers, scroll controllers and animations never disposed. - Integration skills for Claude Code in
.claude-plugin/andskills/.
Migration from 1.x #
- Raise the app to Dart 3.11 / Flutter 3.41 and depend on
flutterx_table: ^2.0.0and on the 2.0 versions of flutterx_live_data and flutterx_utils. - Selection modules that passed
nullcolors to disable the highlight: passColors.transparent. - Code that built a
PageInfowith apagebeyond the last one: clamp it, or usecopyWithwithoutpage. - Code that used
sortedByField: sort withList.sortandSortOrderExt.comparator. - Check the table layout with the larger header icons.
1.2.2 #
- Improvements
1.1.6 #
- Improve Paging
1.1.5 #
- Improve Selection
1.1.4 #
- Improve Paging
1.1.3 #
- Improve Paging
1.1.2 #
- Improve Paging
1.1.1 #
- Fix arrow direction
1.1.0 #
- Add enabled flag to paging indicator
1.0.9 #
- Enable modifiers in selection/action cells
1.0.8 #
- Improve table selection
1.0.7 #
- Add cell modifier
1.0.6 #
- Fix naming
1.0.5 #
- Improve actions
1.0.4 #
- Fix resizing scrollable view
1.0.3 #
- Improve scrolling & sorting
1.0.2 #
- Improve scrolling
1.0.1 #
- Stability improvements & fixes
1.0.0-dev #
- Initial release.