calculate method
Implementation
double calculate(double highestCell) {
var rowHeight = highestCell;
if (minHeight != null && minHeight! > rowHeight) {
rowHeight = minHeight!;
}
if (maxHeight != null && maxHeight! < rowHeight) {
rowHeight = maxHeight!;
}
return rowHeight;
}