Gets an unmodifiable map of custom row heights.
Returns: Map<int, double>? — map of row indices to heights, or null if none set.
Implementation
Map<int, double>? get rowHeights =>
_rowHeights == null ? null : Map<int, double>.unmodifiable(_rowHeights!);