Optional: Calculate row height dynamically. Return null to use default height.
double? getRowHeight(T row, int index) => null;