flutter_pro_table 0.2.1
flutter_pro_table: ^0.2.1 copied to clipboard
A fully responsive, feature-rich Flutter data table for iOS, Android & Web with pagination, sorting, filtering, cell merging, expandable rows, frozen columns, themes and selection.
0.2.1 #
- Added README screenshots showcasing the full demo, frozen columns, merged cells and skeleton loading state.
- Declared
screenshots:inpubspec.yamlfor the pub.dev package card. - Cleaned up example app package namespace to
com.tablepro.miton Android and iOS. - Updated repository and issue tracker URLs to the canonical GitHub location.
0.2.0 #
ERP-style customizations (Zoho / Odoo / AG-Grid inspired):
- Density modes —
density: ProTableDensity.compact / standard / comfortablescales row height, header height and cell padding. - Row numbers —
showRowNumbers: trueprepends a leading "#" column with 1-based row indices across the current page. - Column visibility toggle —
enableColumnVisibilityToggle: trueadds a "Columns" button to the toolbar that opens a checkbox menu. Per-columnhideable: falseopts out. - Footer / summary row —
showFooter: trueplusProColumn.footerBuilder(orProTable.footerBuilderfor a custom one). Receives the filtered row list so you can compute totals, averages, counts. - Bulk actions bar —
bulkActionsBuilderslides in a sticky bar at the bottom when rows are selected, with a clear-selection button, label ("3 selected") and arbitrary action widgets. - Column resize —
enableColumnResize: trueadds drag handles to the right edge of every non-pinned header cell. Bounded byProColumn.minResizeWidth/maxResizeWidth. - Mobile card view —
mobileBreakpoint: 600+ optionalmobileCardBuilderswitches the table to a card list on narrow screens. - Skeleton loading —
loadingStyle: ProLoadingStyle.skeletonrenders animated shimmer rows. Customise count viaskeletonRowCount. - Drag-and-drop column reorder —
enableColumnReorder: true(long-press a header to drag). - Auto row height —
autoSizeRows: truelets rows grow to fit multi-line content;ProColumn.maxLinescaps line count. - Per-cell tap / long-press —
ProColumn.onCellTapandonCellLongPressfor fine-grained navigation. - Alternating row colors —
oddRowColor/evenRowColorparameters; still works alongsiderowStyleResolverfor condition-based coloring.
Bug fixes:
- Fixed pagination footer where page-number buttons stretched to full width on certain layouts.
0.1.0 #
Initial release.
- Responsive
ProTable<T>widget for iOS, Android, Web, macOS, Windows, Linux. - React-style pagination with first/prev/numbered/next/last buttons, page-size dropdown, "jump to page" input.
- Built-in toolbar with title, subtitle, search input and trailing actions.
- Sortable columns with custom comparators and tri-state toggling.
- Single & multi row selection (radio / checkbox + select-all).
- Expandable rows with custom panel builder.
- Frozen / pinned columns (
ColumnPin.left/ColumnPin.right) with synced horizontal scroll. - Merged cells (rowspan / colspan) via
ProCellSpan. - Custom cell rendering through
cellBuilder,headerBuilderand per-cell / per-row style resolvers. ProTableThemecontrolling colours, radius, paddings, row height, dividers, striping, hover, and selected colour. Auto-derives from the surroundingThemeData.ProColumnWidth.fixed,ProColumnWidth.flex,ProColumnWidth.intrinsic.- Customisable empty / loading states.
- Hover effect on web/desktop, tap / double-tap / long-press on mobile.
