flutterx_table library
Flutterx Table
Classes
- CellHeightModifier
- Modifier that applies height constraint to the cell
- CellPaddingModifier
- Modifier that applies basic padding
- CellTextStyleModifier
- Modifier that applies TextStyle
- HeadingCellTextStyleModifier
- Modifier that applies TextStyle and also IconTheme size This is specifically designed for heading row. Use CellTextStyleModifier for normal rows
- OddRowDecorator
- Decorates rows by alternating background colors. If color is null At least one color must be provided
- PageInfo
- PagingArrowsIndicator
- PagingIndexIndicator
- PagingIndicatorLayout
- RowSelectionModifier
- Modifier that allows row selection by tapping on it
- RowsPerPageIndicator
- SelectionDecorator
- Apply selectionColor on top of selected rows
- SortArrowModifier
- Modifier that allows sorting by tapping on heading column cell This is specifically designed for heading row. Do NOT use on normal rows
- SortOptions
- Sort configuration of table Providing this configuration to XRawTable will add sorting feature by tapping on heading column cells
-
TableAction<
T> -
TableActions<
T> -
Actions that can be performed on a table row
Providing this configuration to XRawTable will add a column at the end of the table
Tis the item type that should match XRawTable items type - TableCellModifier
- Cell Modifiers are layers that apply customizations to a single row cell This implementations are used to define a common behaviour/styling to the table The order in which you put the modifiers can impact on the final result
- TableColumn
- Table column definition
- TableRowDecorator
- Row Decorators are layers that apply Decoration to a single row This implementations are used to define a common styling to the table The order in which you put the decorators can impact on the final result
-
TableSelection<
T, K> -
Selection configuration of table
Providing this configuration to XRawTable will add a column at the start of the table with a Checkbox
Tis the item type that should match XRawTable items typeKis the item primary key type - TableSortArrow
- Widget that display current sort order with an indicator icon
-
XRawTable<
T> -
Table
Tis items type
Enums
- ActionState
- It can happen that different actions can be performed only on certain rows This state helps you to hide/disable actions for a specific item
- SortOrder
- Order for sorting
Extensions
Typedefs
-
PageIndexBuilder
= Widget Function(BuildContext context, int index, bool enabled, bool active, ValueChanged<
int> setIndex) -
RowBuilder<
T> = Iterable< Widget> Function(BuildContext context, int index, T item) -
Builds a single table row from given row
indexanditem