FitGridColumnWidth.auto constructor

const FitGridColumnWidth.auto({
  1. double? min,
  2. double? max,
  3. int sampleSize,
  4. bool measureAllRows,
})

Size the column to its content: the header plus a sample of the widest cells, measured with a real TextPainter.

Implementation

const factory FitGridColumnWidth.auto({
  double? min,
  double? max,
  int sampleSize,
  bool measureAllRows,
}) = FitGridAutoWidth;