paged_datatable library

Classes

AlignColumnFormat
Applies alignment to the cell content.
AppLocalizationDelegate
CollapsibleRowColumn<K extends Comparable<K>, T>
A special ReadOnlyTableColumn that renders a button to open collapsed rows
ColumnFormat
ColumnSize
Indicates the size of a table column
CurrentPage<K extends Comparable<K>, T>
A PagedDataTable footer widget that renders the current page.
DateRangePickerTableFilter
A TableFilter that renders a TextField that, when selected, opens a DateTimeRange picker.
DateTimePickerTableFilter
A TableFilter that renders a TextField that, when selected, opens a DateTime picker.
DefaultFooter<K extends Comparable<K>, T>
The default footer renderer for PagedDataTable.
DropdownTableColumn renders a compact DropdownButton that allows to modify the cell's value in place.
A TableFilter that renders a DropdownButtonFormField.
EditableTableColumn<K extends Comparable<K>, T, V>
EditableTableColumn represents a basic table column for T that display editable content of type V.
FilterModel
Represents the filter model of the table.
FilterState<T extends Object>
Represents the state of a TableFilter.
FixedColumnSize
Indicates a fixed size of a column. If the content of a cell does not fit, it will be wrapped
FractionalColumnSize
Indicates a fraction size of a column. That is, a column that takes a fraction of the available viewport.
LargeTextTableColumn<K extends Comparable<K>, T>
LargeTextTableColumn renders an overlay dialog with a TextField that allows to modify the cell's value when double-clicked.
MaxColumnSize
A column size that uses the maximum value of two provided constraints.
A PagedDataTable footer widget that renders navigation buttons.
NumericColumnFormat
Applies a numeric format to the column. That is, the cell content is aligned to the right.
PagedDataTable<K extends Comparable<K>, T>
PagedDataTable renders a table of items that is paginable.
PagedDataTableConfiguration
A set of properties used to configure a PagedDataTable
PagedDataTableController<K extends Comparable<K>, T>
PagedDataTableController represents the state of a PagedDataTable of type T, using pagination keys of type K.
PagedDataTableLocalization
PagedDataTableTheme
PagedDataTableThemeData
PageSizeSelector<K extends Comparable<K>, T>
A PagedDataTable footer widget that renders a dropdown used to select a page size.
ProgrammingTextFilter<T extends Object>
A TableFilter that is not visible in the filter selection but can be set using the controller.
ReadOnlyTableColumn<K extends Comparable<K>, T>
ReadOnlyTableColumn represents a basic table column for T that displays read-only content.
RefreshTable<K extends Comparable<K>, T>
A PagedDataTable footer widget that renders a refresh button.
RemainingColumnSize
Indicates that a column will take the remaining space in the viewport.
RowSelectorColumn<K extends Comparable<K>, T>
A special ReadOnlyTableColumn that renders a checkbox used to select rows.
SortModel
SortModel indicates the current field the table is using to sort values.
TableColumn<K extends Comparable<K>, T>
TableColumn is a implementation of ReadOnlyTableColumn that renders a cell based on cellBuilder.
TableFilter<T extends Object>
Represents a value selector that filters the dataset returned and displayed in the table.
TextTableColumn<K extends Comparable<K>, T>
TextTableColumn renders a compact TextField that allows to modify the cell's value in place when double-clicked.
TextTableFilter
A TableFilter that renders a TextFormField.
TotalItems<K extends Comparable<K>, T>
A PagedDataTable footer widget that renders the total items in the current resultset.

Typedefs

CellBuilder<T> = Widget Function(BuildContext context, T item, int rowIndex)
ExpansibleFetcher<K extends Comparable<K>, T> = FutureOr<(Map<T, List<T>?>, K?)> Function(int pageSize, SortModel? sortModel, FilterModel filterModel, K? pageToken)
A function that gets called when a new page is requested. This allows you to return a dataset with entries that may contain expansible rows.
Fetcher<K extends Comparable<K>, T> = FutureOr<(List<T>, K?)> Function(int pageSize, SortModel? sortModel, FilterModel filterModel, K? pageToken)
A function that gets called when a new page is requested.
Getter<T, V> = V? Function(T item, int rowIndex)
RowChangeListener<K extends Comparable<K>, T> = void Function(int index, T item)
A callback that fires when a row changes, providing the index of the row and the current item there.
Setter<T, V> = FutureOr<bool> Function(T item, V value, int rowIndex)