maxBoxHeight static method
Implementation
static double maxBoxHeight({
required int? sizeByItem,
required int matchers,
required double? maxBoxHeight,
}) {
if (maxBoxHeight != null) return maxBoxHeight;
if (sizeByItem != null) return 60.0 * sizeByItem;
return 60.0 * ((matchers > 3) ? 4 : matchers);
}