Skip to main content

flutterx_table 2.0.0 copy "flutterx_table: ^2.0.0" to clipboard
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.0 and Flutter >=3.41.0; depends on flutterx_live_data and flutterx_utils ^2.0.0; vector_math removed.
  • Breaking: SortExt (Iterable.sortedByField) is removed.
  • Breaking: TableSelectionModule.rowMultipleSelectionColor/rowSingleSelectionColor default to null, meaning the theme tint; pass Colors.transparent to disable the highlight (null disabled it).
  • Breaking: XRawTable.oddRowDecorator() takes its default tint from the theme; with only oddDecoration the even rows have no decoration.
  • Breaking: icons scale from the ambient IconTheme with the text size (20 → 24 px with the default theme); PagingIndicatorLayout.textStyle defaults to textTheme.bodySmall; paging indicators use theme colors.
  • Breaking: PageInfo asserts page < pageCount also with items; copyWith without page and fromJson clamp the page to the last valid one.
  • Breaking: ColumnSwapModule.onSwap is not called on a cancelled drag nor on a drop in the same position; newIndex keeps the ReorderableList.onReorder convention (documented).
  • SortOptions.fromJson with an unknown order uses the fallback (it threw).
  • ContentTableBuilderState.refresh() returns the future of the reload.
  • Fixed: selection column with selectAllEnabled: false throwing; onTap never called without onTapBehaviour; the selection set mutated during build; sort arrow and filter icon on the wrong columns; guessHint ignoring Text.rich; filter text out of sync with FilterOptions.query; errors of itemsBuilder swallowed without onError (now reported to FlutterError.reportError); updates and setState after dispose; actualItemsCount 0 on a full last page; focus nodes, text controllers, scroll controllers and animations never disposed.
  • Integration skills for Claude Code in .claude-plugin/ and skills/.

Migration from 1.x #

  1. Raise the app to Dart 3.11 / Flutter 3.41 and depend on flutterx_table: ^2.0.0 and on the 2.0 versions of flutterx_live_data and flutterx_utils.
  2. Selection modules that passed null colors to disable the highlight: pass Colors.transparent.
  3. Code that built a PageInfo with a page beyond the last one: clamp it, or use copyWith without page.
  4. Code that used sortedByField: sort with List.sort and SortOrderExt.comparator.
  5. 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.
4
likes
150
points
90
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Highly customizable Flutter table with selection, sorting, filtering, actions, column swap, paging and scrolling modules.

Homepage

License

BSD-3-Clause (license)

Dependencies

collection, flutter, flutterx_live_data, flutterx_utils

More

Packages that depend on flutterx_table