fitGridPaintedTextHeight function

double? fitGridPaintedTextHeight({
  1. required int row,
  2. required int column,
  3. int index = 0,
})

The height of a cell's laid-out text.

Null for a cell outside the viewport, which has not been laid out. Assert on it against fitGridRowHeight to prove a wrapping cell stays inside its row rather than painting over the one below.

Implementation

double? fitGridPaintedTextHeight({
  required int row,
  required int column,
  int index = 0,
}) => fitGridSection(index: index).paintedTextHeight(row, column);