rowMetrics property
FitGridRowMetrics
get
rowMetrics
Where every row sits and how tall it is.
Row count lives here rather than beside it: a count without the heights that go with it is half a geometry, and keeping them in one object is what stops the two from ever disagreeing mid-layout.
Implementation
FitGridRowMetrics get rowMetrics => _rowMetrics;
set
rowMetrics
(FitGridRowMetrics value)
Implementation
set rowMetrics(FitGridRowMetrics value) {
if (identical(_rowMetrics, value) || _rowMetrics == value) return;
_rowMetrics = value;
markNeedsLayout();
markNeedsSemanticsUpdate();
}