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