Skip to content

Misleading dataCellBuilder parameter

I suppose, in line 282, i means rowIndex, and in line 295, j means columnIndex. So, calling dateCellBuilder(i,j) is actually calling

dataCellBuilder(rowIndex, columnIndex).

However, dataCellBuilder is stated in line 115 as

final Widget Function(int columnIndex, int rowIndex) dataCellBuilder;

I guess those names of the 2 indexes should be swapped.