flexHeight method
Implementation
int? flexHeight() {
// defined height takes precedence over flex
if (hasBoundedHeight) return null;
if (!visible) return null;
return flex ?? (expandVertically || canExpandInfinitelyHigh ? 1 : null);
}
int? flexHeight() {
// defined height takes precedence over flex
if (hasBoundedHeight) return null;
if (!visible) return null;
return flex ?? (expandVertically || canExpandInfinitelyHigh ? 1 : null);
}