TableCellDecorator typedef

TableCellDecorator = BoxDecoration? Function({required Map<String, dynamic> cellMetadata, required AttributedText cellText, required int columnIndex, required int rowIndex})

A function that decorates a table cell.

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 cell, which means the decoration of the row is applied, if any.

Implementation

typedef TableCellDecorator = BoxDecoration? Function({
  required int rowIndex,
  required int columnIndex,
  required AttributedText cellText,
  required Map<String, dynamic> cellMetadata,
});