TableRowDecorator typedef
TableRowDecorator =
BoxDecoration? Function({required int rowIndex})
A function that decorates a table row.
Can be used, for example, to apply alternating background colors to rows.
The header row has rowIndex 0, the first data row has rowIndex 1, and so on.
Returning null means that no decoration is applied to the row.
Implementation
typedef TableRowDecorator = BoxDecoration? Function({
required int rowIndex,
});