TableStyleFunc typedef

TableStyleFunc = Style? Function(int row, int col, String data)

Callback for per-cell styling in tables.

row is the row index (-1 for header row, 0+ for data rows). col is the column index. data is the cell content as a string.

Return a Style to apply to the cell, or null for no styling.

Implementation

typedef TableStyleFunc = Style? Function(int row, int col, String data);