advanced_datatable
0.0.9, released 3 years ago by devowl.de
An extension of the Flutter PaginatedDataTable supporting server-side pagination and async loading.
WASM-ready
$ flutter pub add advanced_datatableWhat it does
Advanced Datatable extends Flutter's PaginatedDataTable to support asynchronous row loading, allowing you to connect tables to large data sources and load only the current page. It also supports custom loading and error widgets, hiding empty rows, server-side filtering, and customizable footers.
AI-written summary of version 0.0.9, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a paginated data table that loads data asynchronously from a server or large database.
- You require server-side filtering and sorting for your table data.
- You want to customize the table footer or hide empty rows.
Skip it when
- You already have all data locally in memory and the standard PaginatedDataTable is sufficient.
- You need complex charts or non-tabular data displays.
Strengths
- Supports async row loading for large data sets
- Provides hooks for server-side filtering and sorting
- Allows custom footers, loading widgets, and error widgets
Weaknesses
- Requires implementing custom data sources extending AdvancedDataTableSource
- Limited documentation outside of the README examples
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
AdvancedPaginatedDataTable(
addEmptyRows: false,
source: source,
showFirstLastButtons: true,
rowsPerPage: rowsPerPage,
availableRowsPerPage: [1, 5, 10, 50],
onRowsPerPageChanged: (newRowsPerPage) {},
columns: [
DataColumn(label: Text('Row no')),
DataColumn(label: Text('Value'))
],
)Alternatives
Packages that do the same job and could replace advanced_datatable.
- side_sheet
Implements side sheets for all platforms and responsive UI.
47Compare